home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / pmp42b.zip / PMPATROL.INF (.txt) < prev    next >
OS/2 Help File  |  1996-05-26  |  154KB  |  5,637 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. License Information ΓòÉΓòÉΓòÉ
  3.  
  4.                                   PM Patrol(tm)
  5.  
  6. (c) Copyright 1993-96, WallyWare, All rights reserved.
  7.  
  8. Unregistered copies of PM Patrol are freely distributable and copying is 
  9. encouraged. If you like it, tell a friend. If not, tell us. 
  10.  
  11. PM Patrol is supplied "as is" without any warranties either expressed or 
  12. implied. 
  13.  
  14. IN NO EVENT WILL WALLYWARE BE LIABLE TO YOU FOR ANY INCIDENTAL, SPECIAL, 
  15. PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING FROM OR CONNECTED WITH 
  16. THIS AGREEMENT OR USE OF THIS PRODUCT, REGARDLESS WHETHER WE KNOW OR HAVE 
  17. REASON TO KNOW OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES MAY NOT ALLOW 
  18. EXCLUSION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES AND SO THE FOREGOING EXCLUSION 
  19. MAY NOT APPLY TO YOU. 
  20.  
  21. The version of PM Patrol is distributed under a Software License Agreement 
  22. which is included with this version of PM Patrol and available for preview 
  23. without registration required. 
  24.  
  25. If you have any questions about your rights or responsibilities concerning the 
  26. use of this product please contact: 
  27.  
  28. WallyWare
  29. 2210 Kingston Drive
  30. Wheaton, Illinois  60187  USA
  31.  
  32. Internet E-Mail:  wally@interaccess.com
  33. Internet WWW:    http://homepage.interaccess.com/~wally
  34. Phone:       708-510-7412 (630-510-7412 after 7/96)
  35. Fax:        708-690-8893 (630-690-8893 after 7/96)
  36.  
  37.  
  38. ΓòÉΓòÉΓòÉ 2. Introduction ΓòÉΓòÉΓòÉ
  39.  
  40.                                   PM Patrol(tm)
  41.  
  42. PM Patrol is robust, yet easy to use resource monitoring and management 
  43. software for OS/2 version 2.1+ and all versions of OS/2 Warp. 
  44.  
  45. Allow me to introduce PM Patrol and describe some quick-hits to help you get 
  46. going.  This introduction is brief, but important. 
  47.  
  48. You can ALWAYS get the latest version of PM Patrol from our WallyWare Internet 
  49. Web site at http://homepage.interaccess.com/~wally and send Internet e-mail to 
  50. wally@interaccess.com. 
  51.  
  52. To identify the current version, the licensed name, and serial number for this 
  53. copy of PM Patrol, refer to "Product Information" accessable from several PM 
  54. Patrol menus. The serial number is necessary when seeking technical support 
  55. from WallyWare. 
  56.  
  57. PM Patrol is designed to run all the time, from bootup to shutdown. Always 
  58. visible and accessible, PM Patrol offers quick access to many different 
  59. monitors and related utilities; Helping You Manage the Power of OS/2 
  60.  
  61. PM Patrol allows you to monitor and track several different resources of your 
  62. OS/2 system. These resources are presented to you in a very unintrusive and 
  63. meaningful display providing you insight into current system activities. 
  64.  
  65. The appearance of PM Patrol has maintained the attitude that this tool should 
  66. be visible, yet not use valuable desktop space. In order to accomplish this, PM 
  67. Patrol provides a Status Line at the bottom of your screen which displays the 
  68. monitors you have selected. In most cases, not all monitors can fit on the 
  69. Status Line - as expected. But, you can change the font of the Status Line so 
  70. that more information can fit in. Also, some of PM Patrol's other monitor 
  71. windows, besides the Status Line, concentrate on categories of resources in 
  72. OS/2 (ie. Memory). Therefore, you don't necessarily want or need everything on 
  73. the Status Line. Only those items you want to see all the time. 
  74.  
  75. PM Patrol has a broad appeal. The information PM Patrol provides is valuable to 
  76. a number of audiences including novices, heavy users, and software engineers 
  77. and developers. Some PM Patrol monitors and utility items are geared more 
  78. toward software developers, but the majority of PM Patrol is valuable to 
  79. anyone. 
  80.  
  81. PM Patrol is feature rich. For a complete description of PM Patrol features and 
  82. details, refer to Features and Product Information sections of this on-line 
  83. help. To see how PM Patrol compares to other OS/2 resource monitor software, 
  84. refer to the online help section "Comparative Matrix" also under Product 
  85. Information. 
  86.  
  87. Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  88. utilities complement the PM Patrol personality and are described in detail in 
  89. the "Command Line Utilities" section of this on-line help. 
  90.  
  91. The on-line help describes all facets of PM Patrol. Whenever you are in the PM 
  92. Patrol on-line help, you can always view the Table of Contents by selecting 
  93. "Contents" under the "Options" menu item. 
  94.  
  95. The on-line help contains a section called "Trouble Shooting". If you ever 
  96. experience difficulties or potential problems with PM Patrol, refer to this 
  97. section of on-line help. It discusses topics of potential difficulty, 
  98. compatibility, and idiosyncrasies of PM Patrol features. Everyone should read 
  99. this section. 
  100.  
  101. Another on-line help section called "Support", provides basic support 
  102. information for PM Patrol. 
  103.  
  104. To help you get going with PM Patrol right now, the following itemizes 
  105. quick-hit topics: 
  106.  
  107.    1. PM Patrol provides 2 quick ways of getting around. Place the mouse 
  108.       pointer on the PM Patrol Status Line. If the Status Line is located at 
  109.       the bottom of the desktop screen, the mouse pointer changes to let you 
  110.       know your're "talking" to PM Patrol. Otherwise, the mouse pointer remains 
  111.       the same. The left mouse button acts different than the right. 
  112.  
  113.    2. From the PM Patrol Status Line, double clicking the left mouse button 
  114.       invokes the PM Patrol "Options" dialog. This dialog allows you to select 
  115.       and/or change PM Patrol Status Line monitors, configuration settings, 
  116.       color and font settings, various OS/2 system settings, and provides an 
  117.       alternative method for accessing PM Patrol "Utility" items. 
  118.  
  119.    3. From the PM Patrol Status Line, single clicking the right mouse button 
  120.       invokes the PM Patrol "Utility" popup menu. After you configure PM Patrol 
  121.       to your personal preferences, this "Utility" popup menu will typically 
  122.       become the primary access method to PM Patrol features. 
  123.  
  124.    4. The PM Patrol icon in the "Utility" popup menu invokes the Table of 
  125.       Contents for PM Patrol help. 
  126.  
  127.    5. When invoked, the "Utility" popup menu is intelligent based on the 
  128.       location of the mouse pointer within the PM Patrol Status Line: 
  129.  
  130.         a. If the mouse pointer is within 1 inch of the LEFT side of the Status 
  131.            Line (leftmost 1 inch on VGA), the Utility popup menu will 
  132.            automatically display the PM Patrol Program List for quick access to 
  133.            your favorite programs. 
  134.  
  135.         b. Similarly, if the mouse pointer is within 1 inch of the RIGHT side 
  136.            of the Status Line, the Utility popup menu will automatically 
  137.            display the PM Patrol Desktop List for quick access to commonly used 
  138.            OS/2 WorkPlace Shell folders. 
  139.  
  140.         c. Otherwise, the Utility popup menu is displayed with the default menu 
  141.            item being PM Patrol Process Monitor option. 
  142.  
  143.  From all of us at WallyWare, Thank you for choosing PM Patrol and enjoy... 
  144.  
  145.  
  146. ΓòÉΓòÉΓòÉ 3. Hardware/Software Requirements ΓòÉΓòÉΓòÉ
  147.  
  148. PM Patrol carries the following requirements, some of which are options to PM 
  149. Patrol: 
  150.  
  151.    1. PM Patrol requires IBM OS/2 version 2.1 or higher. 
  152.  
  153.    2. Multmedia features requires IBM MMPM/2 for OS/2 be installed. 
  154.  
  155.    3. Network monitoring features requires IBM LAN Requester be installed on 
  156.       the local workstation. NetWare for OS/2 is not currently supported. 
  157.  
  158.    4. Internet Connect-Time feature requires modem connection using the 
  159.       "Point-to-Point Protocol" (PPP) or "Serial Line IP" (SLIP) of IBM's 
  160.       Internet Access Kit. 
  161.  
  162.    5. PM Patrol's Free Memory algorithm requires a 32-bit disk controller for 
  163.       memory configurations with more than 16 MB. Strict ISA bus architectures 
  164.       found on most 386 class computers are most likely equipped with 16-bit 
  165.       disk controllers. 
  166.  
  167.  
  168. ΓòÉΓòÉΓòÉ 4. Installation ΓòÉΓòÉΓòÉ
  169.  
  170. To install PM Patrol, run the INSTALL.EXE program from the distribution 
  171. diskette. 
  172.  
  173. The PM Patrol installation prompts you for a number of items and will install 
  174. all necessary files into a subdirectory of your choice for the PM Patrol 
  175. program files. 
  176.  
  177. The installation program also asks you if you want to create the OS/2 Desktop 
  178. objects and "shadow" copy  of PM Patrol in your OS/2 "Startup Folder". Refer to 
  179. the OS/2 WorkPlace Shell user guide for any additional help regarding the 
  180. Startup Folder. 
  181.  
  182. If you are using the real-time Data Collection Facility APIs, append the 
  183. installation path used for PM Patrol to the following statements in your 
  184. CONFIG.SYS file: 
  185.  
  186.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  187.  
  188.    2. "LIB" statement for the API import library (PMPAPI.LIB). 
  189.  
  190.    3. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  191.  
  192.  If you are using the real-time Debug Facility, append the installation path 
  193.  used for PM Patrol to the following statements in your CONFIG.SYS file: 
  194.  
  195.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  196.  
  197.    2. "LIB" statement for the API import library (DBUGAPI.LIB). 
  198.  
  199.    3. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  200.  
  201.  After PM Patrol is installed and the first time you run it, the "Product 
  202.  Information" dialog appears along with the "Product Activation" dialog. This 
  203.  is your opportunity to enter your Name and the Serial number for your copy of 
  204.  PM Patrol. 
  205.  
  206.  It is VERY important that you enter the Serial number correctly. If you make a 
  207.  mistake, select "Register" from the "Product Information" dialog and try 
  208.  again. Once entered, this information is saved. 
  209.  
  210.  Note:  If you want to move PM Patrol to another machine, repeat the 
  211.  installation process along with entering your Name and Serial number again. 
  212.  
  213.  PM Patrol contains a few STARTUP command line options: 
  214.  
  215.    1. "-Q" is used to omit the PM Patrol logo window at startup. When 
  216.       specified, the little PM Patrol logo window at startup will NOT be 
  217.       displayed. 
  218.  
  219.    2. "-H" is used to start PM Patrol in a HIDDEN state. This is advantageous 
  220.       for some users - particularly when the user is only interested in the DCF 
  221.       component. Use the OS/2 Window List to "unhide" the window. This also 
  222.       lends itself to workstations which are used exclusively for real-time 
  223.       operations and/or data acquisition and wish to use the Logger component 
  224.       of PM Patrol. When enabled, any selected Auto-Start monitor windows in PM 
  225.       Patrol (ie. Memory, Process, Network, etc.) will not be started - with 
  226.       the exception of auto-starting the Debug or Logging facilities. These two 
  227.       items, if selected to auto-start, will be started as usual. 
  228.  
  229.    3. "-S" is used to start PM Patrol in SECURED state. When enabled, PM Patrol 
  230.       does not appear in the OS/2 Window List and is not able to be "killed". 
  231.       The user MUST close PM Patrol via the normal PM Patrol mechanism. 
  232.       "Secured" mode is provided primarily to complement the PM Patrol password 
  233.       security offered. 
  234.  
  235.    4. "-W" is used to keep PM Patrol windows from appearing in the OS/2 Window 
  236.       List. This is an alternative option to "-S" but acts only on Window List 
  237.       access. 
  238.  
  239.    5. "-C" can be used to put PM Patrol in a "time critical" priority class for 
  240.       a high level of responsiveness. By default, the main PM Patrol thread 
  241.       operates in a "foreground" priority class and is adequate for most 
  242.       systems. Where PM Patrol and it's DCF readings require absolute timing, 
  243.       this option can be used. Typically, this option lends itself to 
  244.       workstations used for real-time purposes or benchmarking applications 
  245.       which are CPU intensive. Using this startup option may be too aggressive 
  246.       for low-end systems (i386 or most SX CPUs). Furthermore, where seamless 
  247.       DOS+Windows programs are used often, this startup option should be 
  248.       avoided due to the nature of performance issues associated with VDMs 
  249.       (Virtual DOS Machines) under OS/2. 
  250.  
  251.    6. "-N" is used when you wish to disable the PM Patrol Network Monitoring 
  252.       facility. By default, this option is enabled. When disabled, no network 
  253.       I/O traffic monitoring is performed and this feature within PM Patrol is 
  254.       made inaccessible. 
  255.  
  256.    7. "-P" is used when you wish to disable the PM Patrol Port Monitoring 
  257.       facility. By default, this option is enabled. When disabled, no port 
  258.       monitoring is performed and this feature within PM Patrol is made 
  259.       inaccessible. 
  260.  
  261.  When both HIDDEN and SECURED are enabled, these two parameters cause PM Patrol 
  262.  to operate in complete detached mode and 100% secured from user interaction 
  263.  and intervention. This mode of operation lends itself to LAN administrators 
  264.  and real-time operations who wish to monitor workstations using the DCF and 
  265.  Network components of PM Patrol without involving the workstation user. 
  266.  
  267.  
  268. ΓòÉΓòÉΓòÉ 4.1. Uninstall ΓòÉΓòÉΓòÉ
  269.  
  270. To Uninstall PM Patrol from your system: 
  271.  
  272.    1. Exit PM Patrol if currently active. 
  273.  
  274.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  275.  
  276.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  277.       "Startup" folder, then delete the program object from this folder as 
  278.       well. 
  279.  
  280.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  281.       directory. 
  282.  
  283.  Note:  PM Patrol does not modify your CONFIG.SYS file. Unless you make changes 
  284.  to your CONFIG.SYS to use PM Patrol's programming APIs, there are no 
  285.  modifications necessary to CONFIG.SYS for removing PM Patrol. 
  286.  
  287.  
  288. ΓòÉΓòÉΓòÉ 5. Order and Pricing ΓòÉΓòÉΓòÉ
  289.  
  290. Thank you for choosing PM Patrol. You may order by credit card, check or money 
  291. order, SWREG via CompuServe, or via purchase order. VISA, American Express, 
  292. Mastercard, and Discover are welcome. Corporate site licenses available and 
  293. negotiated based on quantity. 
  294.  
  295. PM Patrol pricing is $29 for a single copy, $15 for the upgrade (from versions 
  296. 2.x/3.x), $110 for a 5-Pack, and $400 for a 25-Pack. All pricing represented in 
  297. US dollars. 
  298.  
  299. Once you order PM Patrol, you will be sent via e-mail or Air Mail a product 
  300. serial number to use with PM Patrol. When you receive the serial number, enter 
  301. it into the PM Patrol Product Registration window. This is accessed from PM 
  302. Patrol's Product Information dialog window. Enter your name or company name 
  303. along with the serial number provided. 
  304.  
  305. Several purchasing methods are described below. Please use the one most 
  306. convenient for you. You may purchase directly from WallyWare or take advantage 
  307. of PM Patrol's resellers: 
  308.  
  309.    1. In the United States and Canada, look to BMT Micro at 800-414-4268 or PsL 
  310.       at 800-242-4775 
  311.  
  312.    2. In the United Kingdom, look to OneStop Software at +44 117-985-3370 or 
  313.       0117-985-3370 (in UK) 
  314.  
  315.    3. In Australia, look to Sentience Software at +61 49-57-7487 
  316.  
  317.   ===============================================================
  318.   Ordering via Purchase Order
  319.   ===============================================================
  320.   Mail, e-mail, or fax a purchase order along with the bill-to
  321.   and ship-to address.  An invoice will be sent to the bill-to
  322.   address.  Remember to provide a Purchase Order number.
  323.  
  324.   If possible, please complete the order form (ORDER.FRM)
  325.   included with the PM Patrol product.
  326.  
  327.    Mail:  WallyWare
  328.        2210 Kingston Drive
  329.        Wheaton, IL  60187  USA
  330.  
  331.    E-Mail: wally@interaccess.com
  332.  
  333.    Fax:   708-690-8893 (630-690-8893 after 7/96)
  334.  
  335.  
  336.   ===============================================================
  337.   Ordering via Check or Money Order
  338.   ===============================================================
  339.   Personal checks are limted to US and Canada only. Bank drafts
  340.   and money orders are without limitation.
  341.  
  342.   Complete the following registration form below and send it
  343.   along with your payment to:
  344.  
  345.        WallyWare
  346.        2210 Kingston Drive
  347.        Wheaton, IL  60187  USA
  348.  
  349.   Product:  PM Patrol for OS/2
  350.   Quantity: ___ Single  $29           ___ 5  Pack $110
  351.        ___ Upgrade $15 (from 2.x/3.x)    ___ 25 Pack $400
  352.  
  353.   Name:   ____________________________________________________
  354.   Address:  ____________________________________________________
  355.        ____________________________________________________
  356.   City:   ____________________________________________________
  357.   State:   _____  Zip: _________  Country:  __________________
  358.  
  359.   Internet Id:    ___________________________________________
  360.   CompuServe Id:   ___________________________________________
  361.   America Online Id: ___________________________________________
  362.  
  363.   Comments? ____________________________________________________
  364.        ____________________________________________________
  365.  
  366.   Where you obtained PM Patrol?  _______________________________
  367.  
  368.  
  369.   ===============================================================
  370.   Ordering via CompuServe SWREG
  371.   ===============================================================
  372.   CompuServe members may register PM Patrol via GO SWREG:
  373.  
  374.    PM Patrol (4.x Single Copy)      Registration Id: 8991
  375.  
  376.    PM Patrol (4.x Upgrade Only)      Registration Id: 9016
  377.    Previous registration will be verified by WallyWare. This
  378.    upgrade only applies to registered 2.x and 3.x users.
  379.  
  380.  
  381.  
  382.   ===============================================================
  383.   Ordering via Credit Card - PsL Service
  384.   ===============================================================
  385.   MasterCard, Visa, American Express, and Discover orders for
  386.   PM Patrol may be placed through PsL, a credit card order taking
  387.   and software registration service. Available Monday-Friday.
  388.  
  389.    Voice:  800-242-4775 or 713-524-6394
  390.        7am -  6pm CST Monday-Thursday
  391.        7am - 12pm CST on Fridays, except holidays.
  392.    Fax:   713-524-6398
  393.  
  394.    E-Mail: 71355.470@CompuServe.com
  395.    Mail:  Credit card orders can also be mailed to PsL at:
  396.        P.O. Box 35705, Houston, TX 77235  USA.
  397.  
  398.   The following is needed by PsL for credit card order processing.
  399.   Be sure to specify your e-mail account if you have one.  PsL
  400.   notifies WallyWare within 24 hours after receiving your order so
  401.   a PM Patrol product serial number can be generated and sent to
  402.   you promptly.
  403.  
  404.    Product Id:     14363 (PM Patrol)
  405.  
  406.    Quantity:      ____ Single  $29     ____  5-Pack $110
  407.              ____ Upgrade $15     ____ 25-Pack $400
  408.  
  409.    Credit Card:     [_] MC  [_] VISA  [_] AMEX  [_] Discover
  410.    Credit Card Number: __________________________________________
  411.    Expiration Date:   __________________________________________
  412.    Name On Card:    __________________________________________
  413.    Billing Address:   __________________________________________
  414.              __________________________________________
  415.              __________________________________________
  416.  
  417.    Internet Id:     __________________________________________
  418.    CompuServe Id:    __________________________________________
  419.    America Online Id:  __________________________________________
  420.  
  421.  
  422.   Please note:
  423.    WallyWare CAN NOT be reached at the numbers above.  These
  424.    numbers are for PsL - CREDIT CARD ORDERS ONLY.
  425.  
  426.    Any questions about the status of the shipment of an order,
  427.    refunds, registration options, product details, technical
  428.    support, volume discounts, dealer pricing, site licenses,
  429.    etc., must be directed to WallyWare.
  430.  
  431.  
  432.   ===============================================================
  433.   Ordering via Credit Card - BMT Micro Service
  434.   ===============================================================
  435.   MasterCard, Visa, American Express, and Discover orders for
  436.   PM Patrol may be placed through BMT Micro, a credit card order
  437.   taking and software registration service. Available Monday-Friday.
  438.  
  439.    Voice:  800-414-4268 (Monday - Friday)
  440.    Fax:   910-350-2937
  441.    E-Mail: orderes@bmt.wilmington.net
  442.  
  443.   The following is needed by BMT for credit card order processing.
  444.   Be sure to specify your e-mail account if you have one. BMT Micro
  445.   notifies WallyWare within 24 hours after receiving your order so
  446.   a PM Patrol product serial number can be generated and sent to
  447.   you promptly.
  448.  
  449.    Product Id:     PM Patrol
  450.  
  451.    Quantity:      ____ Single  $29     ____  5-Pack $110
  452.              ____ Upgrade $15     ____ 25-Pack $400
  453.  
  454.    Credit Card:     [_] MC  [_] VISA  [_] AMEX  [_] Discover
  455.    Credit Card Number: __________________________________________
  456.    Expiration Date:   __________________________________________
  457.    Name On Card:    __________________________________________
  458.    Billing Address:   __________________________________________
  459.              __________________________________________
  460.              __________________________________________
  461.  
  462.    Internet Id:     __________________________________________
  463.    CompuServe Id:    __________________________________________
  464.    America Online Id:  __________________________________________
  465.  
  466.  
  467.   Please note:
  468.    WallyWare CAN NOT be reached at the numbers above.  These
  469.    numbers are for BMT Micro - CREDIT CARD ORDERS ONLY.
  470.  
  471.    Any questions about the status of the shipment of an order,
  472.    refunds, registration options, product details, technical
  473.    support, volume discounts, dealer pricing, site licenses,
  474.    etc., must be directed to WallyWare.
  475.  
  476.  
  477.   ===============================================================
  478.   Receiving your PM Patrol Product Serial Number
  479.   ===============================================================
  480.   You're Product Serial number is assigned by WallyWare after
  481.   purchasing PM Patrol.  After you receive this code, enter it,
  482.   (along with your name) in PM Patrol's Product Registration window.
  483.  
  484.    E-Mail shipment:
  485.      For E-Mail users on Internet, CompuServe, or America Online
  486.      your PM Patrol product serial number will be sent via e-mail
  487.      within 24 hours after receipt of your PM Patrol purchase.
  488.  
  489.    Air-Mail shipment:
  490.      For users without e-mail access, WallyWare will send via
  491.      First Class Air mail a 3 1/2 diskette containing the latest
  492.      version of PM Patrol and an invoice with your product serial
  493.      number.  Please allow 5-10 days for shipping.
  494.  
  495.  
  496.   PM Patrol is posted on several popular sites.  The following sites
  497.   receive uploads of PM Patrol directly from WallyWare.  If you have
  498.   a more convenient ftp or download site, let us know.
  499.  
  500.   The file name is typically PMPxyz.ZIP where "x" represents the major
  501.   release number, "y" represents the minor release number, and "z"
  502.   represents an optional fix release as an alphabetic character.
  503.   For example, PMP41.ZIP or PMP41a.ZIP.  On CompuServe, the PM Patrol
  504.   file will always be called PMPATROL.ZIP.
  505.  
  506.    WWW: http://homepage.interaccess.com/~wally
  507.    WWW: http://www.wilmington.net/bmtmicro
  508.    WWW: http://www.os2.hammer.org/OS2
  509.    FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  510.    FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  511.    BBS: Chicago online OS/2        (708-895-4042  8N1)
  512.    BBS: Peter Norloff's OS/2 Shareware   (703-385-4325  8N1)
  513.    CompuServe               (OS2BVEN Forum, Shareware Library)
  514.    America Online             (OS/2 Forum)
  515.  
  516.   You can ALWAYS get the latest version of PM Patrol from our WEB
  517.   site on the internet at http://homepage.interaccess.com/~wally
  518.  
  519.   Thank you for choosing PM Patrol.  And, enjoy...
  520.   Dave Wallenberg, WallyWare
  521.  
  522.   Internet E-Mail: wally@interaccess.com
  523.   Internet WWW:   http://homepage.interaccess.com/~wally
  524.   Phone:      708-510-7412 (630-510-7412 after 7/96)
  525.   Fax:       708-690-8893 (630-690-8893 after 7/96)
  526.  
  527.  
  528. ΓòÉΓòÉΓòÉ 6. Support ΓòÉΓòÉΓòÉ
  529.  
  530. Sales and Technical Support for PM Patrol and other WallyWare products are 
  531. available through phone, e-mail, and fax. 
  532.  
  533. In most cases, phone support will require you to leave a message for WallyWare. 
  534. We will return domestic US calls as soon as possible usually within 48 hours. 
  535. E-mail support can usually count on response within 48 hours. 
  536.  
  537. PM Patrol is posted to and can be downloaded from the following electronic 
  538. repositories. The file name is typically PMPxyz.ZIP where "x" represents the 
  539. major release number, "y" represents the minor release number, and "z" 
  540. represents an optional fix release as an alphabetic character. For example, 
  541. PMP41.ZIP or PMP41a.ZIP. On CompuServe, the PM Patrol file will always be 
  542. called PMPATROL.ZIP. 
  543.  
  544.  WWW: http://homepage.interaccess.com/~wally
  545.  WWW: http://www.wilmington.net/bmtmicro
  546.  WWW: http://www.os2.hammer.org/OS2
  547.  FTP: hobbes.nmsu.edu          (/os2/wpsutil)
  548.  FTP: ftp-os2.cdrom.com         (/pub/os2/sysutil)
  549.  BBS: Chicago online OS/2        (708-895-4042  8N1)
  550.  BBS: Peter Norloff's OS/2 Shareware   (703-385-4325  8N1)
  551.  CompuServe               (OS2BVEN Forum, Shareware Library)
  552.  America Online             (OS/2 Forum)
  553.  
  554. You can ALWAYS get the latest version of PM Patrol from our WEB
  555. site on the internet at http://homepage.interaccess.com/~wally
  556.  
  557. WallyWare
  558. 2210 Kingston Drive
  559. Wheaton, Illinois  60187  USA
  560.  
  561. Internet E-Mail: wally@interaccess.com
  562. Internet WWW:   http://homepage.interaccess.com/~wally
  563. Phone:      708-510-7412 (630-510-7412 after 7/96)
  564. Fax:       708-690-8893 (630-690-8893 after 7/96)
  565.  
  566.  
  567. ΓòÉΓòÉΓòÉ 7. Product Information ΓòÉΓòÉΓòÉ
  568.  
  569. This section describes what PM Patrol is and what it offers 
  570.  
  571.  
  572. ΓòÉΓòÉΓòÉ 7.1. What is It? ΓòÉΓòÉΓòÉ
  573.  
  574. PM Patrol is robust yet easy to use resource monitoring and management 
  575. software, for OS/2 versions 2.1 and higher. The monitors, frequency of resource 
  576. samples, preferences, size and placement of windows are user selectable 
  577. allowing complete customization. 
  578.  
  579. Always accessible, PM Patrol extends the OS/2 desktop by providing insight into 
  580. current system activities and resource utilization. 
  581.  
  582. The quick-access utility items include a program launcher, program scheduler, 
  583. print/spooler functions, Fast Find, and much more. 
  584.  
  585. The numerous resource monitors that PM Patrol provides can be logged for later 
  586. review or accessed dynamically with the Data Collection Facility APIs. Recorded 
  587. as text, the logged data can be manipulated using tools such as Rexx, AWK, 
  588. GREP, and custom C/C++ programs. 
  589.  
  590. The appearance of PM Patrol has maintained the attitude that the tool should be 
  591. visible, yet not use valuable desktop space. As a result, the main Status Line 
  592. is displayed at the bottom of the display (as default). 
  593.  
  594.  
  595. ΓòÉΓòÉΓòÉ 7.2. Why do I need it? ΓòÉΓòÉΓòÉ
  596.  
  597. PM Patrol offers numerous and intuitive selections for monitoring OS/2 status 
  598. and activities: 
  599.  
  600.    1. Display current Date/Time with optional synchronization to network 
  601.       server. 
  602.  
  603.    2. System up-time for workstation 
  604.  
  605.    3. Internet Connect-Time for workstation (requires IBM's Internet Access 
  606.       Kit). 
  607.  
  608.    4. Network user ID, Domain, server, and network I/O traffic for the 
  609.       workstation 
  610.  
  611.    5. Processes, threads, DLLs, drivers, and shared memory activity 
  612.  
  613.    6. Event monitoring and notification of critical OS/2 resources and 
  614.       thresholds. 
  615.  
  616.    7. CPU activity per Process and Thread in graphical view 
  617.  
  618.    8. Complete drive summary and detail information with graphical utilization 
  619.  
  620.    9. Local or remote print spooler jobs on a per queue basis 
  621.  
  622.   10. Disk Drives on-line (including network drives) 
  623.  
  624.   11. Free space for selected drives (up to 6 drives including network drives) 
  625.  
  626.   12. OS/2 swap activity 
  627.  
  628.   13. Identify system levels for OS/2 component installed 
  629.  
  630.   14. OS/2 free real and virtual memory activity 
  631.  
  632.   15. Active number of OS/2 processes and threads 
  633.  
  634.   16. CPU utilization (current vs. rolling average over last 1 minute) 
  635.  
  636.   17. Battery status for mobile computers 
  637.  
  638.   18. Graphical views of memory, CPU usage, and swapping 
  639.  
  640.  PM Patrol contains a suite of robust utility and OS/2 desktop functions: 
  641.  
  642.    1. Robust monitoring of OS/2 processes and threads (Process Monitor window) 
  643.       with ability to monitor CPU utilization per process, memory used per 
  644.       process, process priorities, and "kill" ill-behaved programs. 
  645.  
  646.    2. Process Meter features provides unattended operation and automatic 
  647.       collection of process statistics for identifying duration, CPU 
  648.       consumption, and instances over a range of time. 
  649.  
  650.    3. Quick-access program launcher with priority control 
  651.  
  652.    4. Quick-access program scheduler with priority control for timed events 
  653.  
  654.    5. Network Monitor and I/O statistics for workstation 
  655.  
  656.    6. Summary and detailed information of drives 
  657.  
  658.    7. Summary and detailed information of OS/2 configuration and environment 
  659.  
  660.    8. Changing the mouse and wait pointers in OS/2 
  661.  
  662.    9. Fast Find files (pattern, size, last access, attributes, network drives) 
  663.  
  664.   10. Fast Help for all OS/2 and Windows help information files on-line 
  665.  
  666.   11. Fast access to WorkPlace Shell object classes 
  667.  
  668.   12. Find duplicate files 
  669.  
  670.   13. Drive utilization and analysis with graphical distribution 
  671.  
  672.   14. Fast Format diskettes 
  673.  
  674.   15. Print queue management 
  675.  
  676.   16. Identify system levels for OS/2 component installed 
  677.  
  678.   17. Minimize all visible windows (and restore all minimized windows) 
  679.  
  680.   18. Security to protect PM Patrol settings and configuration for stand-alone 
  681.       and network use 
  682.  
  683.   19. Suspending power for mobile computers (sleep mode) 
  684.  
  685.   20. Suspending PM Patrol monitors 
  686.  
  687.   21. Forced OS/2 shutdown 
  688.  
  689.   22. Changing mouse and wait pointers for all display types 
  690.  
  691.   23. Set system date and time 
  692.  
  693.   24. Several command-line utilities such as Fast Find and Find Duplicate 
  694.       files, Print Spooler Management, and more 
  695.  
  696.   25. API interfaces to retrieve real-time statistics from PM Patrol 
  697.  
  698.  
  699. ΓòÉΓòÉΓòÉ 7.3. Comparative Matrix ΓòÉΓòÉΓòÉ
  700.  
  701. =====================================================================
  702.       Item          PM Patrol  SPM/2  CpuMon  Pegasus
  703. =====================================================================
  704. Low memory requirements        x             x
  705. Low CPU requirements          x     x        x
  706. Network monitoring (1)         x
  707. CPU monitoring             x     x    x     x
  708. Magnified CPU monitoring        x
  709. LPT Port monitoring          x         x     x
  710. COM Port monitoring                   x     x
  711. Process monitors            x         x     x
  712. Free Memory monitor          x     x    x     x
  713. Virtual Memory monitor         x     x
  714. Resident Memory monitor        x     x
  715. Memory Per Process monitor            x    x
  716. Swap free and size monitor       x     x    x     x
  717. Drive monitoring            x     x    x     x
  718. Drive Cache monitors (2)        x             x
  719. Drive utilization mapping       x
  720. Power Mgmt Monitoring and Control   x
  721. Inconspicuous monitor display     x
  722. Real-time Data Collection Facility   x     x        x
  723. C/C++ API interfaces          x     x        x
  724. Quick access program Launcher     x
  725. Build-in program Scheduler       x
  726. Line graph displays          x     x        x
  727. Selective logging           x         x     x
  728. Print spooler mgmt and control     x
  729. System and Configuration Info.     x
  730. Performance tuning guide        x
  731. Desktop/WorkPlace Shell utilities   x
  732. Software testing tools         x
  733. Event Monitoring w/Alarms       x
  734. Multimedia Enabled           x
  735. Internet Access Monitoring       x
  736. Fast access to system help files    x
  737. Robust Process Metering        x
  738. Low cost                x
  739.  
  740. (1) LAN Server support only
  741. (2) HPFS-386 only
  742.  
  743.  
  744. ΓòÉΓòÉΓòÉ 8. How do I ? ΓòÉΓòÉΓòÉ
  745.  
  746. This section describes how to do things in PM Patrol that may not be obvious. 
  747.  
  748.  
  749. ΓòÉΓòÉΓòÉ 8.1. Set fonts ΓòÉΓòÉΓòÉ
  750.  
  751. You can select "Font" from the PM Patrol "Options" dialog and select a font for 
  752. the PM Patrol main Status Line. 
  753.  
  754. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  755.  
  756. Or, use the Font Palette in the OS/2 "Setup" folder by dropping a font on the 
  757. PM Patrol Status Line. 
  758.  
  759. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  760.  
  761. Note:  PM Patrol supports the ability to have a different font and color scheme 
  762. for each window - including the main Status Line. 
  763.  
  764.  
  765. ΓòÉΓòÉΓòÉ 8.2. Display Different Drives ΓòÉΓòÉΓòÉ
  766.  
  767. By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  768. through H. This drive mapping can be changed to any desired combination. 
  769.  
  770.    1. From the PM Patrol Status Line, right-click the Status Line. 
  771.  
  772.    2. Select the "Drives" menu option 
  773.  
  774.    3. Then select the "Status Line" option. 
  775.  
  776.    4. This will display a menu identifying the current drive mappings assigned. 
  777.       Select the PM Patrol drive number you wish to change. 
  778.  
  779.    5. A mini dialog will popup displaying current drives on-line and 
  780.       accessible. Choose which drive to map. 
  781.  
  782.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  783.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  784.  
  785.    7. This information is saved and remembered by PM Patrol. 
  786.  
  787.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  788.  of the free space for the drive to inform you the drive is off-line. This is 
  789.  more common when monitoring remote drives on a network. 
  790.  
  791.  
  792. ΓòÉΓòÉΓòÉ 8.3. Set Colors ΓòÉΓòÉΓòÉ
  793.  
  794. Use the "Colors" dialog. This can be accessed via the PM Patrol Setting option 
  795. on the "Options" dialog. You can control both foreground and background RGB 
  796. colors with this mechanism. 
  797.  
  798. Or, use the Color Palette in the OS/2 "Setup" folder by dropping a color 
  799. selection on the PM Patrol Status Line. 
  800.  
  801. All PM Patrol settings are automatically saved when you exit PM Patrol. 
  802.  
  803.  
  804. ΓòÉΓòÉΓòÉ 8.4. Move the Status Line ΓòÉΓòÉΓòÉ
  805.  
  806. There are two methods for moving the main Status Line. All PM Patrol settings 
  807. and window positions are automatically saved when you exit PM Patrol. 
  808.  
  809.         a. Holding the right mouse button down, drag the Status Line up or 
  810.            down, it will automatically keep the width of the Status Line within 
  811.            the boundaries of your desktop screen width. 
  812.  
  813.         a. Single click with both mouse buttons (Chord click) on the PM Patrol 
  814.            Status Line.  This will enable the title bar to the Status Line. 
  815.  
  816.         b. Select the title bar and hold the mouse button while dragging the 
  817.            Status Line to the desired position. 
  818.  
  819.         c. Chord click the Status Line again (or select "Hide Controls" from 
  820.            the System Menu box) to hide the title bar. 
  821.  
  822.         d. This will allow you to move the Status Line off the desktop 
  823.            boundaries for those of you who wish to truncate the left of right 
  824.            side of the Status Line. 
  825.  
  826.  
  827. ΓòÉΓòÉΓòÉ 8.5. Mouse Control with PM Patrol ΓòÉΓòÉΓòÉ
  828.  
  829. Double click the left mouse button on the PM Patrol Status Line to get to PM 
  830. Patrol Options. 
  831.  
  832. Single click the right mouse button on the PM Patrol Status Line for quick 
  833. access the PM Patrol utilities menu. 
  834.  
  835. Single click the left and right mouse buttons (Chord click) on the PM Patrol 
  836. Status Line to display the PM Patrol title bar and system menu. This allows you 
  837. to move the PM Patrol Status Line to a desired position. Chord click again to 
  838. hide the title bar, or select the "System Menu" box on the title bar and then 
  839. select "Hide Controls". 
  840.  
  841.  
  842. ΓòÉΓòÉΓòÉ 8.6. Start PM Patrol Minimized/Hidden ΓòÉΓòÉΓòÉ
  843.  
  844. PM Patrol can be started with a command line option ("-H") to start it in a 
  845. HIDDEN state. This is advantageous for some users - particularly when the user 
  846. is only interested in the DCF component. Use the OS/2 Window List to "unhide" 
  847. the window. This also lends itself to workstations which are used exclusively 
  848. for real-time operations and/or data acquisition and wish to use the Logger 
  849. component of PM Patrol. 
  850.  
  851. Combined with the "Start Secured" option, PM Patrol to operates in complete 
  852. detached mode and 100% secured from user interaction and intervention. The only 
  853. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  854. itself to LAN administrators who wish to monitor workstations using the DCF and 
  855. Network components of PM Patrol without involving the workstation user. 
  856.  
  857.  
  858. ΓòÉΓòÉΓòÉ 8.7. Start PM Patrol Secured ΓòÉΓòÉΓòÉ
  859.  
  860. PM Patrol can be started with a command line option "-S" to start PM Patrol in 
  861. SECURED state. When enabled, PM Patrol does not appear in the OS/2 Window List 
  862. and can not therefore be terminated by the user. The user MUST close PM Patrol 
  863. via the normal PM Patrol mechanism. 
  864.  
  865. Combined with the "Start Hidden" option, PM Patrol to operates in complete 
  866. detached mode and 100% secured from user interaction and intervention. The only 
  867. way to terminate PM Patrol is an OS/2 Shutdown. This mode of operation lends 
  868. itself to LAN administrators who wish to monitor workstations using the DCF and 
  869. Network components of PM Patrol without involving the workstation user. 
  870.  
  871.  
  872. ΓòÉΓòÉΓòÉ 8.8. Uninstall PM Patrol ΓòÉΓòÉΓòÉ
  873.  
  874. To Uninstall PM Patrol from your system: 
  875.  
  876.    1. Exit PM Patrol if currently active. 
  877.  
  878.    2. Delete the PM Patrol folder from the OS/2 Desktop. 
  879.  
  880.    3. If you selected PM Patrol to startup automatically via the OS/2 desktop 
  881.       "Startup" folder, then delete the program object from this folder as 
  882.       well. 
  883.  
  884.    4. Delete the PM Patrol directory (i.e. C:\PMP) and all the files within the 
  885.       directory. 
  886.  
  887.  
  888. ΓòÉΓòÉΓòÉ 8.9. Use PM Patrol without a mouse ΓòÉΓòÉΓòÉ
  889.  
  890. To access PM Patrol without a mouse, use Ctrl-Esc to get to the OS/2 Window 
  891. List. Then, select the "PM patrol Status Line". At this point, you can: 
  892.  
  893.    1. Press F11 to invoke the PM Patrol Utility Popup menu 
  894.  
  895.    2. Press F12 to invoke the PM Patrol Options window 
  896.   Once you have access to the Utility Popup, you can go anywhere within PM 
  897.  Patrol without a mouse. 
  898.  
  899.  
  900. ΓòÉΓòÉΓòÉ 9. Options ΓòÉΓòÉΓòÉ
  901.  
  902. This section describes various options and configuration settings that may be 
  903. selected for PM Patrol. 
  904.  
  905.  
  906. ΓòÉΓòÉΓòÉ 9.1. System ΓòÉΓòÉΓòÉ
  907.  
  908. The System section provides the ability to view and change several OS/2 
  909. environmental facets. 
  910.  
  911. This can be accessed from the PM Patrol "Options" dialog. 
  912.  
  913.  
  914. ΓòÉΓòÉΓòÉ 9.1.1. System Level ΓòÉΓòÉΓòÉ
  915.  
  916. The System Level option launches the OS/2 SYSLEVEL.EXE utility and displays the 
  917. current release and CSD level for the OS/2 components installed on your system. 
  918.  
  919.  
  920. ΓòÉΓòÉΓòÉ 9.1.2. Set Date/Time ΓòÉΓòÉΓòÉ
  921.  
  922. The Set Date/Time option provides a small dialog for changing the OS/2 system 
  923. date and/or time. Input is fully edited for valid dates including leap-year and 
  924. you are notified of errors. 
  925.  
  926. The Status Line Date/Time is updated to reflect the new date/time. 
  927.  
  928.  
  929. ΓòÉΓòÉΓòÉ 9.1.3. Mouse Pointer ΓòÉΓòÉΓòÉ
  930.  
  931. The Mouse Pointer option allows you to change the current mouse pointer type. 
  932. Using the OS/2 Icon Editor, you can create your own POINTER files. 
  933.  
  934. This option provides a bigger pointer for SVGA and XGA systems.  On XGA 
  935. systems, if you change the default pointer, the pointer may occasionally 
  936. disappear. This is most likely caused by the IBM OS/2 XGA drivers and is 
  937. repaired in OS/2 2.1 with the 2.11 CSD. 
  938.  
  939. Note:  After selecting a new pointer, DO NOT delete, move, or rename the 
  940. pointer file without changing the Mouse Pointer via PM Patrol FIRST. OS/2 looks 
  941. for this at IPL. If it is not found at OS/2 bootup, OS/2 will hang. So put the 
  942. pointer file in a safe place on a not removable media type and backup INI 
  943. files. 
  944.  
  945. Select "Reset" to reset back to the original pointer. 
  946.  
  947.  
  948. ΓòÉΓòÉΓòÉ 9.1.4. Wait Pointer ΓòÉΓòÉΓòÉ
  949.  
  950. The Wait Pointer option allows you to change the current wait pointer type. 
  951. Typically, this is the OS/2 time clock when the system is busy. Using the OS/2 
  952. Icon Editor, you can create your own POINTER files. 
  953.  
  954. This option was added to provide a bigger pointer for SVGA and XGA systems.  On 
  955. XGA systems, if you change the default pointer, the pointer may occasionally 
  956. disappear.  This is most likely caused by the XGA drivers. 
  957.  
  958. After selecting a new pointer, DO NOT delete, move, or rename this file without 
  959. performing this process as well. OS/2 looks for this at IPL. So put the pointer 
  960. file in a safe place on a not removable media type and backup INI files. 
  961.  
  962. Select "Reset" to reset back to the original pointer. 
  963.  
  964.  
  965. ΓòÉΓòÉΓòÉ 9.2. Settings ΓòÉΓòÉΓòÉ
  966.  
  967. The Settings section provides the ability to view, change, and permanently 
  968. change PM Patrol configuration items. 
  969.  
  970. This can be accessed from the PM Patrol "Options" dialog. 
  971.  
  972.  
  973. ΓòÉΓòÉΓòÉ 9.2.1. Reset All Settings ΓòÉΓòÉΓòÉ
  974.  
  975. The Reset All Settings option resets all PM Patrol to options to their original 
  976. defaults. This includes colors, window positions, fonts, monitor items on the 
  977. Status Line and PM Patrol Logger, and Process Meter data. 
  978.  
  979.  
  980. ΓòÉΓòÉΓòÉ 9.2.2. General Settings ΓòÉΓòÉΓòÉ
  981.  
  982. General Settings is broken-out into the following groups: 
  983.  
  984.    1. "Startup" options and windows that get started when PM Patrol is started 
  985.  
  986.    2. "Miscellaneous" options 
  987.  
  988.    3. "Spooler" options for local or remote print spool monitoring 
  989.  
  990.    4. "Editor" and "Viewer" programs used by PM Patrol 
  991.  
  992.  The following items discuss Startup function: 
  993.  
  994.    1. Enable Process Monitor Window to have this facility launched when PM 
  995.       Patrol starts. 
  996.  
  997.    2. Enable Memory Monitor Window to have this facility launched when PM 
  998.       Patrol starts. 
  999.  
  1000.    3. Enable Network Monitor Window to have this facility launched when PM 
  1001.       Patrol starts. 
  1002.  
  1003.    4. Enable Port Monitor Window to have this facility launched when PM Patrol 
  1004.       starts. 
  1005.  
  1006.    5. Enable Drives Monitor Window to have this facility launched when PM 
  1007.       Patrol starts. 
  1008.  
  1009.    6. Enable Event Monitor Window to have this facility launched when PM Patrol 
  1010.       starts. 
  1011.  
  1012.    7. Enable Activity Monitor Window to have this facility launched when PM 
  1013.       Patrol starts. 
  1014.  
  1015.    8. Enable Debug Facility to have this facility start when PM Patrol starts. 
  1016.  
  1017.    9. Enable Logging Facility to have this facility start when PM Patrol 
  1018.       starts. 
  1019.  
  1020.   10. Enable Reset Process Meter to have the Process Meter data base 
  1021.       initialized when PM Patrol starts (typically each time you reboot your 
  1022.       system). When this settings is not enabled, PM Patrol keeps track of 
  1023.       Process Meter statistics across each invocation of PM Patrol, thus 
  1024.       providing accumulative statistics for you until you manually reset the 
  1025.       Process Meter data base. This option is enabled by default. Therefore, 
  1026.       the meter will be initialized each time you start PM Patrol. 
  1027.  
  1028.  The following items discuss Miscellaneous items: 
  1029.  
  1030.    1. Sound Bites and Volume option enables or disables the playing of 
  1031.       multimedia WAV files upon various PM Patrol events. This option is only 
  1032.       applicable to systems that are Multimedia enabled with MMPM/2 for OS/2. 
  1033.       The Volume control allows you to adjust the volume for PM Patrol's WAV 
  1034.       sound bites independantly from the OS/2 "System Sounds" volume control. 
  1035.       The default is 50% and may require adjustment for your system. PM Patrol 
  1036.       stores it's WAV files in a subdirectory called "WAV" and is located under 
  1037.       the PM Patrol installation directory. Some events include: 
  1038.  
  1039.         a. When an error occurs (pmperr.wav). 
  1040.  
  1041.         b. When free disk space is low (pmpfdisk.wav). 
  1042.  
  1043.         c. Each time you connect (pmpin.wav) or disconnect from (pmpout.wav) 
  1044.            the Internet when using IBM's Internet Access Kit. 
  1045.  
  1046.         d. Each time you Logon (pmpin.wav) or Logoff (pmpout.wav) when using 
  1047.            IBM's LAN Server. 
  1048.  
  1049.         e. When you kill a program from the Process Monitor window or Fast 
  1050.            Format a floppy diskette (pmpshred.wav). 
  1051.  
  1052.         f. When you refresh the window contents manually (pmprefr.wav). 
  1053.  
  1054.         g. When you add (pmpadd.wav) or delete (pmpshred.wav) items from a 
  1055.            window. 
  1056.  
  1057.         h. When you delete PM Patrol or Debug log files (pmpshred.wav). 
  1058.  
  1059.         i. When the PM Patrol Status Line, Activity Monitor, or PM Patrol's CPU 
  1060.            monitor are suspended (pmppause.wav) and resumed (pmpreset.wav). 
  1061.  
  1062.         j. When using PM Patrol's print spooler management functions. This 
  1063.            includes purging queues (pmpshred.wav), releasing queues 
  1064.            (pmpreset.wav), and holding queues (pmppause.wav). 
  1065.  
  1066.         k. When PM Patrol windows are copied to the clipboard, printed, or 
  1067.            saved to a file (pmprpt.wav). 
  1068.  
  1069.         l. When printing to local LPT1, LPT2, or LPT3 has completed spooling to 
  1070.            printer (pmpprint.wav). 
  1071.  
  1072.         m. When remaining battery life drops below specified threshold 
  1073.            (pmpbat.wav). 
  1074.  
  1075.         n. When available virtual memory falls below specified threshold 
  1076.            (pmpvram.wav). 
  1077.  
  1078.         o. When the OS/2 swap file grows at any time (pmpgswap.wav). 
  1079.  
  1080.         p. When available OS/2 swap space falls below the specified threshold 
  1081.            (pmpfswap.wav). 
  1082.  
  1083.         q. When average CPU exceeds specified threshold (pmpcpu.wav). 
  1084.  
  1085.         r. When PM Patrol logging is stopped or completed (pmpdone.wav). 
  1086.  
  1087.         s. When various "Reset" options are selected (pmpreset.wav). 
  1088.  
  1089.    2. Process Metering option enables or disables the Process Meter feature 
  1090.       which provides ongoing monitoring of process metrics and statistics for 
  1091.       analyzing duration, CPU effort, instances, execution dates, and more. 
  1092.       Refer to the "Monitors" on-line section for details. 
  1093.  
  1094.    3. Confirmations option enables or disables PM Patrol from asking you for 
  1095.       confirmation upon various events such as killing processes via the 
  1096.       Process Monitor window. There are cases where PM Patrol will ignore this 
  1097.       option and request confirmation for your own protection, even if this 
  1098.       option is turned off. 
  1099.  
  1100.    4. Animated Windows option enables or disables the appearance of PM Patrol 
  1101.       windows "zooming" in and out when windows are opened and closed. 
  1102.  
  1103.    5. Idle-Time Searches option controls the search priority for "Fast Find", 
  1104.       "Drive Map", and "Fast Help" operations. When enabled, these operations 
  1105.       only get OS/2 time slices when there is inactivity (idle) within your 
  1106.       system. 
  1107.  
  1108.    6. Auto-Save Profile option will, when enabled, automatically save the PM 
  1109.       Patrol profile and statistics at the frequency specified. The frequency 
  1110.       is specified as minutes with a range of 1 minute to 8 hours, default 15 
  1111.       minutes. This facilitates the integrity for the PM Patrol real-time 
  1112.       statistics in the event of a system hang.  If not enabled, PM Patrol will 
  1113.       automatically save the profile statistics, but only when PM Patrol is 
  1114.       shutdown. 
  1115.  
  1116.       Note:  With this option turned on, power-managed computers will not 
  1117.       automatically power-down the disk drive(s) because of the disk write 
  1118.       generated from this option. This disk write is not buffered and therefore 
  1119.       commits to disk immediately. 
  1120.  
  1121.    7. Lock Status Line Position option locks-in the PM Patrol Status Line 
  1122.       position from accidently dragging and moving. 
  1123.  
  1124.    8. Reflect Free Swap in VRam. This option provides the ability to have the 
  1125.       Free Virtual Memory calculation reflect (or not reflect) free OS/2 swap 
  1126.       space from the swap file (swapper.dat). When enabled, the Free Virtual 
  1127.       RAM (VRam) calculation will reflect a more accurate and actual reading 
  1128.       that factors in available swap pages. Please be aware that enabling this 
  1129.       option will cause the Free VRam reading to be inconsistent with OS/2 
  1130.       System Information Tool for "Total Available Memory". 
  1131.  
  1132.    9. Reflect Reserved in VRam. This option provides the ability to have the 
  1133.       Free Virtual Memory calculation reflect (or not reflect) the reserved 
  1134.       disk space as specified in the "swappath" directive of your OS/2 
  1135.       Config.Sys. When enabled, the Free Virtual RAM (VRam) calculation will 
  1136.       reflect a more accurate and actual reading that factors in this reserved 
  1137.       disk space. Please be aware that enabling this option will cause the Free 
  1138.       VRam reading to be inconsistent with OS/2 System Information Tool for 
  1139.       "Total Available Memory". 
  1140.  
  1141.   10. Reflect Free RAM in VRam. This option provides the ability to have the 
  1142.       Free Virtual Memory calculation reflect (or not reflect) free Real memory 
  1143.       in the calculation of Free/Used Virtual memory. Ones definition of 
  1144.       Virtual Memory may or may not include Real Memory into the calculation. 
  1145.       This option provides you the ability to select your choice of definition. 
  1146.       When enabled, the Free Virtual RAM (VRam) calculation will result in a 
  1147.       very different value, as compared to disabled, and will fluctuate often 
  1148.       as Real RAM is used and freed. The opposite will occur when this option 
  1149.       is disabled. Please be aware that disabling this option will cause the 
  1150.       Free VRam reading to be inconsistent with OS/2 System Information Tool 
  1151.       for "Total Available Memory". 
  1152.  
  1153.   11. Message Popup Seconds option allows you to define how long (seconds) PM 
  1154.       Patrol should display popup messages. The default is 4 seconds. 
  1155.  
  1156.   12. Auto-Popup Menu option causes the PM Patrol Status Line popup menu to 
  1157.       automatically popup when the mouse is moved over the Status Line within 1 
  1158.       inch of the right or left side of the screen. No mouse click is 
  1159.       necessary. Where the mouse pointer is outside of these 1 inch boundaries, 
  1160.       PM Patrol behaves normally. This feature is nice for those who want 
  1161.       ultra-fast access to PM Patrol features. When enabled, the double-click 
  1162.       option off the Status Line is disabled. To access to PM Patrol "Options" 
  1163.       window, select it off the popup menu. 
  1164.  
  1165.   13. Bitmap in Popup Menu option enables or disables displaying the PM Patrol 
  1166.       bitmap in the Utility Popup menu accessed from the PM Patrol Status Line. 
  1167.  
  1168.   14. The Sync Time with Server option enables or disables synchronization of 
  1169.       date and time as compared to the network server currently logged-on to. 
  1170.       When enabled and logged-on to a LAN Server, PM Patrol will (every 10 
  1171.       minutes) synchronize the date and time with the LAN Server. This is set 
  1172.       off by default. 
  1173.  
  1174.   15. The Check floppy at Shutdown will cause PM Patrol to warn you when PM 
  1175.       Patrol is shutdown that there is a floppy diskette mounted in the boot 
  1176.       floppy drive. 
  1177.  
  1178.   16. The CPU Magnification provides the ability to magnify actual CPU 
  1179.       utilization. The value specified is a multiplier (1x, 2x, ... 25x). 
  1180.       Setting magnification to 1 will result in the same value for actual CPU. 
  1181.       The magnification can be monitored in either PM Patrol's Status Line or 
  1182.       Activity Monitor. By default, this option is not enabled in the Activity 
  1183.       Monitor and is set to 5 times (5x) in General Settings. This feature of 
  1184.       PM Patrol lends itself to high-end i486 and Pentium based CPUs and allows 
  1185.       the ability to "zoom" into CPU usage less than 1 percent. PM Patrol will 
  1186.       not report CPU magnification higher than 100 percent. 
  1187.  
  1188.   17. The Battery Calibration option allows you to specify the "zero" value for 
  1189.       the mobile computer's battery. The OS/2 APM facilities assume the battery 
  1190.       to be 100% new. As the battery ages, the original maximum life of the 
  1191.       battery diminishes. Especially for NICad batteries. PM Patrol allows you 
  1192.       to specify a "new" maximum life. When set at zero, observe the PM Patrol 
  1193.       "Bat" percentage. When your computer informs you the battery is 
  1194.       dangerously low (usually several short beeps), observe the percentage 
  1195.       that PM Patrol reports. This value becomes the new "zero" point. Select 
  1196.       this value in the "Calibration" field in the "General Settings" dialog. 
  1197.       Repeat this process every 3-4 months to ensure accurate and reliable 
  1198.       battery readings. 
  1199.  
  1200.  The following items discuss print Spooler options: 
  1201.  
  1202.    1. The Monitor Remote Queue(s) item allows you to select "local" or "Remote" 
  1203.       print queue(s) on a LAN Server and requires IBM LAN Requester be 
  1204.       installed on the local workstation. When enabled, the LAN Server 
  1205.       currently logged-on to is monitored.  PM Patrol automatically recognizes 
  1206.       when a new or different server is logged-on to and adjusts the monitoring 
  1207.       for that server. When not selected, the local workstation print queues 
  1208.       are monitored. This is the default. 
  1209.  
  1210.    2. PM Patrol displays a "?" on the Status Line when it can not poll print 
  1211.       spooler data - perhaps when the user is not logged-on to the server. 
  1212.  
  1213.    3. Monitoring a remote print spooler is only applicable if you have LAN 
  1214.       Requester installed on your workstation, and you are logged onto the 
  1215.       network server. 
  1216.  
  1217.    4. The "Total all Print Queues" option allows you to summarize all print 
  1218.       jobs across all queues and report this value. If this option is NOT 
  1219.       selected, PM Patrol reports the number of print jobs in each spooler 
  1220.       queue along with the status of the queue (h=held or r=released). 
  1221.  
  1222.  The Viewer identifies which OS/2 program/utility to use for viewing.  PM 
  1223.  Patrol uses this for Log viewing and others purposes as they surface in future 
  1224.  releases of PM Patrol. 
  1225.  
  1226.  The Editor identifies which OS/2 program/utility to use for editing.  PM 
  1227.  Patrol uses this for the "Fast Find" files facility and other purposes as they 
  1228.  surface in future releases of PM Patrol. 
  1229.  
  1230.  
  1231. ΓòÉΓòÉΓòÉ 9.2.3. Event Settings ΓòÉΓòÉΓòÉ
  1232.  
  1233. The following items discuss Event monitor options. The Sound Bites for the 
  1234. following events will only occur when "Sound Bites" is enabled in the "General 
  1235. Settings" window and MMPM/2 is installed on your system. 
  1236.  
  1237. When these selected events occur, you will be notified (if enabled) at the 
  1238. frequency specified under "Event Frequencies". By default, you are notified 
  1239. every 5 minutes after the event threshold has been exceeded and sustained for 1 
  1240. minute. 
  1241.  
  1242. Notification occurs in the form of Sound Bites (if enabled), speaker sounds, 
  1243. and/or short popup messages. For systems which are not multimedia enabled, PM 
  1244. Patrol will sound a short audible alarm when event thresholds are exceeded. 
  1245.  
  1246. When you start-up PM Patrol, events will not occur within the first 15 seconds 
  1247. while PM Patrol calibrates itself and initially samples all resources. 
  1248.  
  1249. PM Patrol events include: 
  1250.  
  1251.    1. Battery below ... option will cause PM Patrol to notify you when 
  1252.       remaining battery life drops below the percentage specified. This option 
  1253.       is available only for mobile computer systems with OS/2's Advanced Power 
  1254.       Management. 
  1255.  
  1256.    2. Avg CPU above ... option will cause PM Patrol to notify you when average 
  1257.       CPU exceeds the percentage specified. 
  1258.  
  1259.    3. Virtual RAM below ... option will cause PM Patrol to notify you when 
  1260.       available virtual memory falls below the amount specified. This amount is 
  1261.       represented in terms of Megabytes (MB). 
  1262.  
  1263.    4. Free Swap below  ... option will cause PM Patrol to notify you when 
  1264.       available swap space falls below the percentage specified. 
  1265.  
  1266.    5. Free RAM below  ... option will cause PM Patrol to notify you when 
  1267.       available RAM falls below the percentage specified. This option is not 
  1268.       recommended for use by systems with less than 16 MB of memory. 
  1269.  
  1270.    6. Swap File above... option will cause PM Patrol to notify you when the 
  1271.       OS/2 swap file (SWAPPER.DAT) exceeds the size specified. This size is 
  1272.       specified in terms of megabytes (MB). 
  1273.  
  1274.    7. Drive 1-6 below... option will cause PM Patrol to notify you when free 
  1275.       disk space falls below the amount specified. This amount is represented 
  1276.       in terms of megabytes (MB). The drive to be monitored must be selected in 
  1277.       the list box on the main "Options" dialog. You will not be able to select 
  1278.       event monitoring for the desired drive until this selection is done. 
  1279.  
  1280.  PM Patrol provides three different Notification Methods when event thresholds 
  1281.  are exceeded: 
  1282.  
  1283.    1. The Messages option will cause PM Patrol to notify you in the form of a 
  1284.       brief message when the above events occur. This message is a small pop-up 
  1285.       window that temporarily grabs the foreground for about 3-4 seconds. This 
  1286.       method is rather obtrusive and will visually interupt what your're 
  1287.       currently working on. Each event has a specific message. 
  1288.  
  1289.    2. The Sound Bites option will cause PM Patrol to notify you in the form of 
  1290.       multimedia sound effects when the above events occur. These sounds 
  1291.       require MMPM/2 and are background. 
  1292.  
  1293.    3. The PC Speakers option will cause PM Patrol to notify you in the form of 
  1294.       a short beep when the above events occur. 
  1295.  
  1296.    4. PM Patrol's Data Collection Facility APIs provide a means of real-time 
  1297.       event notification. 
  1298.  
  1299.  The Notification Frequencies allow you set two important setting which allow 
  1300.  you to control how often you are notified once an event threshold is exceeded, 
  1301.  and how long must the threshold be exceeded before notificaton occurs. 
  1302.  
  1303.    1. The Sustained State control informs PM Patrol to wait a certain amount of 
  1304.       time (seconds) while the threshold is exceeded before notifying you via 
  1305.       the methods you have selected. Hence, the threshold has to sustain an 
  1306.       exceeded state for the time you specifiy. 
  1307.  
  1308.    2. The Renotification control allows you to select how often you want to be 
  1309.       notified after the "Sustained State" has occured. Specifying zero will 
  1310.       turn off Renotification. When turned off, you will only be notified once 
  1311.       - when the Sustained State is reached. 
  1312.  
  1313.  The Event Monitor Window collects ALL selected events - even if you have 
  1314.  chosen not to be notified. The last time and the value of the "Sustained 
  1315.  State" of the event are reported in this window. 
  1316.  
  1317.  
  1318. ΓòÉΓòÉΓòÉ 9.2.4. Logger Settings ΓòÉΓòÉΓòÉ
  1319.  
  1320. The following items discuss Logger Settings: 
  1321.  
  1322.    1. The Log Items allows you to select which PM Patrol monitors you would 
  1323.       like to record while logging is active. Once the Logger is active, these 
  1324.       options are inaccessible.  Stop the Logger to change the "Logger 
  1325.       Settings". 
  1326.  
  1327.       Note:  The Process Detail option provides the ability to have PM Patrol 
  1328.       also log process detail information as seen in PM Patrol's Process 
  1329.       Monitor window. This additional detail will list all programs that are 
  1330.       active along with their process ID (PID) and the CPU used per process. 
  1331.       Enabling this will cause the log file size to increase based on the 
  1332.       number of processes actively running. 
  1333.  
  1334.    2. The Log Frequency allows you to select the frequency at which PM Patrol 
  1335.       logs selected monitor items. Valid values are 1 to 60 seconds (1 minute). 
  1336.  
  1337.    3. The Log Duration allows you to select how long (minutes) to perform 
  1338.       logging.  Valid values are 1 minute to 1440 (all day). 
  1339.  
  1340.       Note:  Specifying 1440 minutes enables continuous logging.  With this 
  1341.       enabled, the log files (primary and backup) get "rolled-over" at 
  1342.       midnight. The "Notify when Done" option is ignored when continuous 
  1343.       logging is enabled. 
  1344.  
  1345.       Note:  Worst case disk requirement for all day logging with backup is 16 
  1346.       MB. 1/2 of this when "Backup log File" is not enabled. 
  1347.  
  1348.       Note:  While continuous logging is active, the primary log file can not 
  1349.       be viewed. The backup log file (from the previous day) is always 
  1350.       accessible. 
  1351.  
  1352.    4. The Foreground Color and Background Color push-button items allow you to 
  1353.       select the PM Patrol Status Line colors when logging is active.  The 
  1354.       default colors reverse the foreground and background colors. 
  1355.  
  1356.    5. The Backup Log File causes the primary log file to be backed-up each time 
  1357.       a "Start Log" is initiated.  With this disabled, the primary log file is 
  1358.       overwritten. 
  1359.  
  1360.    6. The Notify When Done option provides the ability to have PM Patrol popup 
  1361.       a message on the OS/2 Desktop when logging has reached it's completion 
  1362.       via the "Log Duration" setting.  This is ignored for "Continuous 
  1363.       Logging". 
  1364.  
  1365.    7. The Path entry field allows you to specify the path location for both 
  1366.       primary and backup log files. 
  1367.  
  1368.       Note:  The primary and backup log files created by PM Patrol are named 
  1369.       "PMPATROL.LOG" for the primary and "PMPATROL.BAK" for the backup log 
  1370.       file. Both the primary and backup log files are ASCII.  Therefore, they 
  1371.       can be viewed and otherwise manipulated using such tools as Rexx, AWK, 
  1372.       and GREP. 
  1373.  
  1374.  The PM Patrol Logger is designed with special consideration for performance 
  1375.  and can be used in a variety of situations: 
  1376.  
  1377.    1. Real-time and time critical. Samples recorded every second. 
  1378.  
  1379.    2. Aggressive. Samples recorded every 2-3 seconds. 
  1380.  
  1381.    3. Casual. Samples recorded every minute. 
  1382.  
  1383.  The Logger buffers output to minimize disk write efforts. Worst case, the 
  1384.  Logger requires 1 physical disk write for every 10 Log records. 
  1385.  
  1386.  Because of the buffering technique used by the Logger, there are no special 
  1387.  performance requirements imposed on the user. However, it is recommended that 
  1388.  "Lazy Write" be enabled in the OS/2 CONFIG.SYS to improve OS/2 overall disk 
  1389.  performance and further minimize the PM Patrol Logging effort. 
  1390.  
  1391.  
  1392. ΓòÉΓòÉΓòÉ 9.2.5. Refresh Settings ΓòÉΓòÉΓòÉ
  1393.  
  1394. The following items discuss Refresh Settings for PM Patrol monitors. When 
  1395. setting these controls, try to stagger them so that each item occurs at a 
  1396. different time. 
  1397.  
  1398. The lower the frequency setting for a given monitor, the more timing-accurate 
  1399. the monitor will be. However, this lower frequency also causes PM Patrol to 
  1400. sample the resource more often thus creating more overhead. For i486 and 
  1401. Pentium based systems, setting these frequencies to minimum values will NOT 
  1402. create adverse effects. CPU overhead for PM Patrol is mimimal. 
  1403.  
  1404. The higher the frequency setting for a given monitor, the less timing-accurate 
  1405. and reliable the monitor will be. However, this higher frequency also reduces 
  1406. PM Patrol overhead for i386 based systems. 
  1407.  
  1408.    1. The Network Monitors refresh setting controls how often (seconds) PM 
  1409.       Patrol samples network presence, I/O statistics, logon, and workstation 
  1410.       status. The Network Monitor window is updated at this frequency as well. 
  1411.  
  1412.    2. The Spool Monitor refresh setting controls how often (seconds) PM Patrol 
  1413.       enumerates the total number of print jobs across all print queues. 
  1414.  
  1415.    3. The Drive Monitors refresh setting controls how often (seconds) PM Patrol 
  1416.       checks what drives are on-line and how much free disk space exists on 
  1417.       each. This does not effect the refresh of the Drives Monitor window which 
  1418.       updates every minute. 
  1419.  
  1420.    4. The Swap Monitor refresh setting controls how often (seconds) PM Patrol 
  1421.       checks how large the OS/2 swapper file is and how much free swapper space 
  1422.       there is. 
  1423.  
  1424.    5. The Activity Monitor refresh setting controls how often (seconds) PM 
  1425.       Patrol refreshes the items in the Activity Monitor window. 
  1426.  
  1427.    6. The Memory Monitors refresh setting controls how often (seconds) PM 
  1428.       Patrol checks free, virtual, and resident memory. The Memory Monitor 
  1429.       window is updated at this frequency as well. 
  1430.  
  1431.    7. The Process Monitors refresh setting controls how often (seconds) PM 
  1432.       Patrol refreshes the Process Monitor window, Process Summary information 
  1433.       in the PM Patrol Status Line, and Process Meter data collection (when 
  1434.       enabled). The other Process Monitor functions do not automatically 
  1435.       refresh and are therefore not subject to this refresh control. 
  1436.  
  1437.    8. The User Defined Monitor refresh setting controls how often (seconds) PM 
  1438.       Patrol refreshes the User Defined Monitor information in PM Patrol's main 
  1439.       Status Line. Using the PM Patrol "DCFUserDefined" API within a C/C++ 
  1440.       program, you can format a monitor buffer of your choice. Refer to the API 
  1441.       description for DCFUserDefined for details. 
  1442.  
  1443.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1444.  active, can be negatively influenced by adjusting the "Process Monitors" 
  1445.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  1446.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  1447.  following, but never lower: 
  1448.  
  1449.    1. 5 seconds for i386 class computers 
  1450.  
  1451.    2. 4 seconds for i486 class computers 
  1452.  
  1453.    3. 3 seconds for Pentium class computers 
  1454.  
  1455.  
  1456. ΓòÉΓòÉΓòÉ 9.2.6. Status Line Font ΓòÉΓòÉΓòÉ
  1457.  
  1458. The Status Line Font option allows you to set the display font for the PM 
  1459. Patrol Status Line window. 
  1460.  
  1461. The font of choice for the PM Patrol Status Line is the "System VIO" family. 
  1462.  
  1463. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1464. dragging the font to the PM Patrol Status Line. 
  1465.  
  1466.  
  1467. ΓòÉΓòÉΓòÉ 9.2.7. Status Line Colors ΓòÉΓòÉΓòÉ
  1468.  
  1469. The Status Line Colors option allows you to set the foreground and background 
  1470. colors for the PM Patrol Status Line window. 
  1471.  
  1472. The Color Propagation option informs PM Patrol to use the color settings 
  1473. selected throughout all PM Patrol windows - as opposed to the current OS/2 
  1474. color definitions. 
  1475.  
  1476. Note:  The font of choice for the PM Patrol Status Line is the "System VIO" 
  1477. family. 
  1478.  
  1479. You can also use the Font Palette in the OS/2 "System Settings" folder by 
  1480. dragging the font to the PM Patrol Status Line. 
  1481.  
  1482.  
  1483. ΓòÉΓòÉΓòÉ 9.2.8. Security ΓòÉΓòÉΓòÉ
  1484.  
  1485. The Security option allows you to set a password that restricts access to PM 
  1486. Patrol configuration, settings, and monitor items. 
  1487.  
  1488. Simply enter a password and PM Patrol security is enabled. To turn off 
  1489. security, simply remove the password. 
  1490.  
  1491. When enabled, the security will restrict access to: 
  1492.  
  1493.    1. All "Options" dialog functions 
  1494.  
  1495.    2. Changing monitored items from the "Utility" popup menu 
  1496.  
  1497.    3. The Program Settings dialog from the "Utility" popup menu 
  1498.  
  1499.    4. The Scheduler Settings dialog from the "Utility" popup menu 
  1500.  
  1501.    5. PM Patrol Logging functions from the "Utility" popup menu 
  1502.  
  1503.  
  1504. ΓòÉΓòÉΓòÉ 9.3. Exit ΓòÉΓòÉΓòÉ
  1505.  
  1506. This option is used to end the PM Patrol program 
  1507.  
  1508.  
  1509. ΓòÉΓòÉΓòÉ 9.4. Status Line Options ΓòÉΓòÉΓòÉ
  1510.  
  1511. This section describes PM Patrol's Status Line Options and Graphs available in 
  1512. the "Options" window. The descriptions and application of the individual Status 
  1513. Line Monitors are discussed in detail under the on-line help section called 
  1514. "Status Line". 
  1515.  
  1516. Some of these options may be grayed-out and inaccessible if the related monitor 
  1517. is not selected in the Status Line Monitor list-box. 
  1518.  
  1519. The CPU Average option enables or disables the display of the "rolling average" 
  1520. of CPU activity covering the last 1 minute. This option is accessible only when 
  1521. "CPU Monitor" is selected in "Status Line" monitors. 
  1522.  
  1523. The CPU Magnified option enables or disables the display of CPU magnification 
  1524. as setup in the General Settings. This option is accessible only when "CPU 
  1525. Monitor" is selected in "Status Line" monitors and offers the ability to 
  1526. monitor CPU activity at a very granular level. 
  1527.  
  1528. The Float to Top option enables or disables the PM Patrol Status Line being 
  1529. kept as the "topmost" window on the OS/2 desktop and therefore visible all the 
  1530. time. When obscured by another window, the Status Line will "float" to the top 
  1531. of the desktop - but will not be the active window. 
  1532.  
  1533. Note:  Refer to the on-line help section "Trouble Shooting" for idiosyncrasies 
  1534. associated with the "Float to Top" option under OS/2 versions 2.1 and 2.11. 
  1535.  
  1536. The Show Open Files option allows you to include the total number of open files 
  1537. in your OS/2 system as part of the Process Summary monitor. 
  1538.  
  1539. Inverted Real RAM, Virtual RAM, and Swap. By default, PM Patrol shows Swap, 
  1540. Real, and Virtual RAM in terms of "Free" and available resource on the Status 
  1541. Line. These options allow you to "invert" or reverse how the respective monitor 
  1542. and graph is shown on the Status Line to reflect resource taxation similar to 
  1543. PM Patrol's CPU monitor. 
  1544.  
  1545. Note:  This option only effects the PM Patrol Status Line and not other windows 
  1546. within PM Patrol or PM Patrol's Logger. 
  1547.  
  1548. The Show Floppies option enables or disables the display of floppy disk drives 
  1549. in the "Drives On-line" monitor. 
  1550.  
  1551. The Show Seconds option enables or disables PM Patrol displaying current 
  1552. seconds within the Time on the main Status Line. 
  1553.  
  1554. The Show Julian Date option enables or disables PM Patrol displaying the 
  1555. current Julian date (in addition to the normal Gregorian date) on the main 
  1556. Status Line. 
  1557.  
  1558. The Show Decimals option enables or disables PM Patrol displaying the decimal 
  1559. position for several of the Status Line monitors. When disabled, PM Patrol will 
  1560. apply standard rounding across affected values. 
  1561.  
  1562. The Show Compact option enables or disables PM Patrol displaying status 
  1563. information in "compact" form. When enabled, the monitor items on the PM Patrol 
  1564. Status Line have their abbreviations (i.e. "Ram", "Spl") removed thus allowing 
  1565. for more room within the Status Line window. 
  1566.  
  1567. The Show Total INet option instructs PM Patrol to display the total Internet 
  1568. Connect-Time on the Status Line as well as the per-instance connect time. When 
  1569. disabled, PM Patrol will show the current active Internet Connect-Time - upon 
  1570. re-connection, the connect-time will be reset to zero. The total connect time 
  1571. is saved when PM Patrol is shutdown and carried across each invocation of PM 
  1572. Patrol. The Internet Connect-Time is reliable as long as PM Patrol is active 
  1573. and able to monitor when Internet connects occur. 
  1574.  
  1575. The CPU Graph option enables or disables a visually graphic display of CPU 
  1576. activity. This option is accessible only when "CPU Monitor" is selected in 
  1577. "Status Line" monitors. 
  1578.  
  1579. The RAM Graph option enables or disables a visually graphic display of free or 
  1580. used Real RAM. If the "Invert Real RAM" option is selected, this will show used 
  1581. Real RAM. Otherwise, free and available Real RAM is displayed. This option is 
  1582. accessible only when "Real RAM Monitor" is selected in "Status Line" monitors. 
  1583.  
  1584. The Resident RAM Graph option enables ordisables a visually graphic display of 
  1585. current Resident RAM as compared to total physical memory. This option is 
  1586. accessible only when "Resident RAM" is selected in "Status Line" monitors. 
  1587.  
  1588. The Virtual RAM Graph option enables or disables a visually graphic display of 
  1589. free or used Virtual RAM. If the "Invert Virtual RAM" option is selected, this 
  1590. will show used Virtual RAM. Otherwise, free Virtual RAM is displayed. It is 
  1591. accessible only when "Virtual RAM" is selected in "Status Line" monitors. 
  1592.  
  1593. The Swap Graph option enables/disables a visually graphic display of current 
  1594. free or usedswap as compared to the current size of the swap file and is 
  1595. accessible only when "Swap Monitor" is selected in "Status Line" monitors. If 
  1596. the "Invert Swap" option is selected, this will show used Swap. Otherwise, free 
  1597. and available Swap is displayed. 
  1598.  
  1599.  
  1600. ΓòÉΓòÉΓòÉ 9.5. Status Line Monitors ΓòÉΓòÉΓòÉ
  1601.  
  1602. The Status Line Monitors list-box contains all the PM Patrol monitors that you 
  1603. may select for display on the PM Patrol Status Line. 
  1604.  
  1605. Selecting monitor items for the Status Line does NOT imply that these same 
  1606. selected monitors are those which are logged via PM Patrol's Logging facility. 
  1607. The Logging facility contains its own monitor selections and can be customized 
  1608. under the "Logger Settings" dialog. 
  1609.  
  1610. The Status Line is updated immediately when monitors are selected or 
  1611. deselected. 
  1612.  
  1613. These monitor items within the listbox are discussed in detail under the 
  1614. on-line help section called "Status Line". 
  1615.  
  1616.  
  1617. ΓòÉΓòÉΓòÉ 10. Monitors ΓòÉΓòÉΓòÉ
  1618.  
  1619. This section describes various performance monitors of PM Patrol. 
  1620.  
  1621.  
  1622. ΓòÉΓòÉΓòÉ 10.1. Activity Monitor ΓòÉΓòÉΓòÉ
  1623.  
  1624. The Activity Monitor window provides a line-graph view of several OS/2 
  1625. resources. 
  1626.  
  1627.    1. "Free Swap" is a blue line and represents free swapper space. When 
  1628.       enabled, the "Used Swap" graph line is disabled. 
  1629.  
  1630.    2. "Used Swap" is a blue line and represents used swapper space. When 
  1631.       enabled, the "Free Swap" graph line is disabled. Due to the nature and 
  1632.       dynamics of OS/2's method of virtual memory swapping, PM Patrol's 
  1633.       calculation of swap utilization can result in an approximation. 
  1634.  
  1635.    3. "Current CPU" is a yellow line and represents the current CPU 
  1636.       utilization. 
  1637.  
  1638.    4. "Average CPU" is a white line and represents the rolling average CPU 
  1639.       utilization. 
  1640.  
  1641.    5. "Magnified CPU" is a pink line (may be purplish on color depths greater 
  1642.       than 640x480) and represents a magnified CPU utilization. The level of 
  1643.       magnification is specified in "General Settings". By default, this option 
  1644.       is not enabled and is set for 90 percent magnification in General 
  1645.       Settings. This feature of PM Patrol lends itself to high-end i486 and 
  1646.       Pentium based CPUs. Magnification is not reflected in the normal CPU 
  1647.       monitor on the PM Patrol Status Line window. 
  1648.  
  1649.    6. "Free RAM" is a green line and represents memory available for OS/2 and 
  1650.       applications. When enabled, the "Used RAM" graph line is disabled. 
  1651.  
  1652.    7. "Used RAM" is a green line and represents the memory in use by OS/2 and 
  1653.       applications. When enabled, the "Free RAM" graph line is disabled. 
  1654.  
  1655.    8. "Resident RAM" is a cyan line represents resident non-swappable memory 
  1656.       locked by OS/2 or applications. 
  1657.  
  1658.    9. "Swappable RAM" is a red line and represents memory capable of being 
  1659.       swapped-out by OS/2. 
  1660.  
  1661.  This window is refreshed automatically at the frequency as set in the "Refresh 
  1662.  Settings" setting "Activity Monitor". 
  1663.  
  1664.  The following itemizes the mouse button activities for the Activity Monitor. 
  1665.  
  1666.    1. A "Chord-Click" (left and right mouse buttons together) in the Activity 
  1667.       Monitor window will toggle the window title bar on and off. 
  1668.  
  1669.    2. A "Double-Click" with the left button in the Activity Monitor window will 
  1670.       toggle between Maximized and Restore views for the window. This is a 
  1671.       useful feature when the "Hide Title Bar" feature is used. 
  1672.  
  1673.    3. A "Single-Click" with the right button in the Activity Monitor window 
  1674.       will popup a menu allowing you select which line graphs to view and 
  1675.       change window controls ("Hide Title Bar", "Smoothed Lines", and "Float to 
  1676.       Top"). 
  1677.  
  1678.    4. Holding down the right mouse button (button 2), you may drag the Activity 
  1679.       Monitor window to the desired position. 
  1680.  
  1681.  The "Float to Top" option enables or disables the Activity Monitor window 
  1682.  being kept as the "topmost" window on the OS/2 desktop and therefore visible 
  1683.  all the time. 
  1684.  
  1685.  When enabled, the "Smoothed Lines" option will attempt to "fillet" or 
  1686.  smooth-out the line graphs reducing the effect of sharp jagged points. 
  1687.  
  1688.  Note:  "Smoothed Lines" will cause more overhead during refresh. If you have a 
  1689.  slower machine, you should be aware of this. An additional 3-5% more overhead 
  1690.  per refresh is not uncommon - depending on the speed of your computer. 
  1691.  
  1692.  When enabled, the "Sliding Graph" option will maintain a continuous graph that 
  1693.  will slide left 1 point after each refresh, thus filling the entire window 
  1694.  width of the graphing area. Otherwise, the graph lines will be "centered" and 
  1695.  will cause graph lines to restart from the center of the graph window when the 
  1696.  graph lines reach the rightmost edge. 
  1697.  
  1698.  The "Hide Title Bar" option allows the window to be sized to a minimum size 
  1699.  without the window title bar and controls getting in the way. 
  1700.  
  1701.  Accessed from the Activity Monitor popup window, the Legend shows the identity 
  1702.  and color of each monitor line along with the current statistics for each 
  1703.  monitor item. The legend can be configured to start-up automatically when the 
  1704.  Activity Monitor is started by selecting the "Auto-Start Legend" option also 
  1705.  in the popup menu. 
  1706.  
  1707.  Additionally, the "Persistent Legend" causes the legend to be started and 
  1708.  remain visible while the Activity Monitor is in a maximized state. 
  1709.  
  1710.  
  1711. ΓòÉΓòÉΓòÉ 10.2. Process Monitor ΓòÉΓòÉΓòÉ
  1712.  
  1713. The Process Monitor window provides the ability to monitor OS/2 active 
  1714. processes, threads, process and thread priorities, shared memory, DLLs, and CPU 
  1715. use per process. Processes (PIDs) can be "killed" by selecting "Kill" from the 
  1716. "Action" menu. 
  1717.  
  1718. Note:  With all PM Patrol Monitor windows (i.e. Process Monitor, Memory 
  1719. Monitor, and Network Monitor) active and automatically refreshing, may be too 
  1720. much overhead for some slower 386 class computers. Therefore, you may need to 
  1721. use these windows selectively and not continuously. The Process Monitor window 
  1722. will increase PM Patrol's CPU requirements by an additional 1-3 percent 
  1723. depending on your CPU speed. 
  1724.  
  1725. The container control in the Process Monitor window supports right-click popups 
  1726. for quick access to "Action" items and double-click selections. Double-clicking 
  1727. in the Process Monitor window invokes the Thread Monitor for the Process ID 
  1728. selected. 
  1729.  
  1730. The "View" menu item provides options to let you select the desired Process 
  1731. Monitor display and the following detail items: 
  1732.  
  1733.    1. The "Background" option switches the display to include/exclude processes 
  1734.       which are "System" or "Detached" process types or have no Session ID 
  1735.       (SID). This option provides the ability to focus only on "Foreground" 
  1736.       programs active on your system. Foreground programs will include all OS/2 
  1737.       PM, OS/2 character based, and DOS+Windows programs. When background 
  1738.       processes are filtered-out, the Process Monitor window will show the 
  1739.       total CPU used by background processes under the name "Bgnd (n)". Where n 
  1740.       reflects the number of process in the background. 
  1741.  
  1742.    2. The "Idle Time" option switches the display to include/exclude Idle 
  1743.       System time. When applications consume CPU, "Idle System" will decrease. 
  1744.       When your system sits idle, "Idle System" increases. When enabled, idle 
  1745.       CPU will be shown under the name "Idle Time". 
  1746.  
  1747.    3. The "Run-Time" option provides the ability to view the duration for which 
  1748.       a process has been active and running and is only applicable to the 
  1749.       "Process Monitor" window. 
  1750.  
  1751.    4. The "Session Title" option switches the display from executable names to 
  1752.       session names and is applicable to the "Process Monitor" and "Process 
  1753.       Summary" windows only. Some instances will show what appears to be a 
  1754.       duplicate session name. This occurs when one or more processes have the 
  1755.       same OS/2 Group Session/Screen ID. There is NOT always a 1 to 1 
  1756.       relationship between a Process and a Session. 
  1757.  
  1758.       Note:  Not all processes have a Session and will therefore display the 
  1759.       executable name instead. This occurs when the process never had a Session 
  1760.       to begin with, such as a daemon processes ("Detached" or "System" session 
  1761.       types). 
  1762.  
  1763.    5. The "Float to Top" option enables or disables the Process Monitor window 
  1764.       being kept as the "topmost" window on the OS/2 desktop and therefore 
  1765.       visible all the time. When obscured by another window, the Process 
  1766.       Monitor window will "float" to the top of the desktop - but will not be 
  1767.       the active window. 
  1768.  
  1769.       Note:  Refer to the on-line help section "Trouble Shooting" for 
  1770.       idiosyncrasies associated with the "Float to Top" option under OS/2 
  1771.       versions 2.1 and 2.11. 
  1772.  
  1773.  Note:  The Process Monitor window will always attempt to display the Session 
  1774.  Title for DOS/Windows programs. In the event that this can not be 
  1775.  accomplished, the name "dos/win" will be used. 
  1776.  
  1777.  The "Process Meter" option provides an alternative access point for the 
  1778.  Process Meter window and can also be accessed from the PM Patrol Utility 
  1779.  pop-up window. 
  1780.  
  1781.  The data displayed in the Process Monitor window is outlined below. Press 
  1782.  Escape to exit the window and terminate the "Process Monitor" facility. 
  1783.  
  1784.    1. "PID" Process ID (displayed as a hex value) 
  1785.  
  1786.    2. "Type" Session Type of process. Session types are categorized as: 
  1787.  
  1788.         a. "Sys" OS/2 System type processes. 
  1789.  
  1790.         b. "PM " OS/2 Presentation Manager GUI processes. 
  1791.  
  1792.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  1793.            represents Virtual Input/Output. 
  1794.  
  1795.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  1796.            Machine. 
  1797.  
  1798.         e. "Det" OS/2 detached background processes (daemons). 
  1799.  
  1800.    3. "HPri" Identifies the Highest PRIority class for the process across all 
  1801.       threads within the process. Refer to the Thread Monitor section below for 
  1802.       detailed descriptions of priority Classes. 
  1803.  
  1804.    4. "Thd" Number of threads in the process 
  1805.  
  1806.    5. "Run-Time" represents the duration for which a process has been actively 
  1807.       running and has the format "dd hh:mm" where: 
  1808.  
  1809.         a. "dd" is Days 
  1810.  
  1811.         b. "hh" is Hours 
  1812.  
  1813.         c. "mm" is Minutes 
  1814.  
  1815.       Note:  The "Run-Time" of a process is relative to when PM Patrol was 
  1816.       started. If PM Patrol is stopped and then restarted, the "Run-Time" for 
  1817.       processes will reset. It is recommended that PM Patrol be placed in the 
  1818.       OS/2 "Startup" folder so it is automatically started when you boot your 
  1819.       system. As a result, the "Run-Time" values will reflect very accurate 
  1820.       results. 
  1821.  
  1822.    6. "CPU" Amount of Relative CPU time the process (PID) consumed since the 
  1823.       last sample along with a bar-graph representation and percentage of total 
  1824.       CPU load across all processes. This is a "relative" CPU load as compared 
  1825.       to other active OS/2, DOS, and Windows programs. 
  1826.  
  1827.    7. "Process" Name of the executable or session 
  1828.  
  1829.  The data displayed in the Process Summary is outlined below. Press Escape to 
  1830.  exit the window and return to "Process Monitor". 
  1831.  
  1832.    1. "PID" Process ID (displayed as a hex value) 
  1833.  
  1834.    2. "PPID" Parent Process ID (displayed as a hex value) 
  1835.  
  1836.    3. "SID" Session ID (displayed as a hex value) 
  1837.  
  1838.    4. "Type" Session Type of process 
  1839.  
  1840.    5. "HMod" Program Executable module handle (displayed as a hex value) 
  1841.  
  1842.    6. "Thd" Number of threads in the PID 
  1843.  
  1844.    7. "Sem" Number of semaphores used by the PID 
  1845.  
  1846.    8. "DLL" Number of DLL modules used by the PID 
  1847.  
  1848.    9. "Shr" Number of shared memory references used by PID 
  1849.  
  1850.   10. "MMT" Memory Model Type of process (16 or 32 bit) 
  1851.  
  1852.   11. "Process" Name of the executable or session 
  1853.  
  1854.  The data displayed in the Thread Monitor window is for a given PID and is 
  1855.  outlined below. Press Escape to exit the window and return to "Process 
  1856.  Monitor". 
  1857.  
  1858.    1. "TID" Thread ID (displayed as a hex value). 
  1859.  
  1860.    2. "Slot" Slot ID for the TID (displayed as a hex value). 
  1861.  
  1862.    3. "Block ID" Block identifier for a blocked TID (displayed as a hex value). 
  1863.       A thread that is a "Ready" state will typically have a "Block ID" of 
  1864.       zero. 
  1865.  
  1866.    4. "Pri" Current priority for the TID.  This displays both priority Class 
  1867.       along with the current Range priority (display in decimal format) within 
  1868.       the Class. Priority "Ranges" operate within a priority Class and range 
  1869.       from 0 to 31, 0 being the lowest and the "normal" OS/2 default. The Range 
  1870.       provides robust priority control and granularity. Priority Classes are 
  1871.       categorized as: 
  1872.  
  1873.         a. "Idle" for low priority processes which only get CPU when nothing 
  1874.            else is running and the lowest OS/2 priority. 
  1875.  
  1876.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  1877.            will be seen most often. 
  1878.  
  1879.         c. "Fore" for foreground priority processes. This is used for 
  1880.            processes/threads which need to be treated as if they are the 
  1881.            "active" window. Net effect of this class makes the process thread 
  1882.            operate at near time-critical performance. 
  1883.  
  1884.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  1885.            This is used for process threads which require guaranteed 
  1886.            time-slices by OS/2 but the thread's CPU needs are typically very 
  1887.            short. 
  1888.  
  1889.    5. "Sys CPU" Amount of time thread spends in the OS/2 kernel along with the 
  1890.       percent of "Sys CPU" compared to TOTAL "Sys CPU" for all threads in the 
  1891.       same PID. 
  1892.  
  1893.    6. "User CPU" Amount of time application time for the thread along with the 
  1894.       percentage of "User CPU" compared to TOTAL "User CPU" for all threads in 
  1895.       the same PID.  This is relative to other threads getting time slices in 
  1896.       the same PID. 
  1897.  
  1898.    7. "State" Identifies what state the thread is in: Blocked, Frozen, Running, 
  1899.       or Ready. 
  1900.  
  1901.  The data displayed in Shared Memory window has the following attributes: Press 
  1902.  Escape to exit the window and return to "Process Monitor". 
  1903.  
  1904.    1. "HMem" Handle to memory allocation (displayed as a hex value) 
  1905.  
  1906.    2. "Sel" Selector to memory (displayed as a hex value) 
  1907.  
  1908.    3. "Refs" Number of references to the memory 
  1909.  
  1910.    4. "Name" Name of the memory used for obtaining addressability 
  1911.  
  1912.  The data displayed in the Dynamic Link Libs, Device Drivers, and File Systems 
  1913.  are outlined below. Press Escape to exit the window and return to "Process 
  1914.  Monitor". 
  1915.  
  1916.    1. "HMod" Handle to the module (displayed as a hex value) 
  1917.  
  1918.    2. "MMT" Memory Model Type of process (16 or 32 bit) 
  1919.  
  1920.    3. "Refs" Number of references to the module 
  1921.  
  1922.    4. "Name" Name of the module 
  1923.  
  1924.  
  1925. ΓòÉΓòÉΓòÉ 10.3. Process Meter ΓòÉΓòÉΓòÉ
  1926.  
  1927. The Process Meter window provides the ability to monitor process statistics for 
  1928. identifying duration and CPU consumption over a range of time. 
  1929.  
  1930. The "Process Metering" option in the PM Patrol "General Settings" dialog 
  1931. controls when this feature is active or inactive. For slower systems (i386 
  1932. class computers), turn Process Metering off if it is not used. 
  1933.  
  1934. By default, PM Patrol resets the Process Meter data base each time PM Patrol is 
  1935. started. This "Startup" option in PM Patrol's "General Settings" window 
  1936. controls this behavior. To keep PM Patrol from resetting the statistics, turn 
  1937. off the "Reset Process Meter" option. Doing so will cause PM Patrol to retain 
  1938. statistics across each invocation of PM Patrol. 
  1939.  
  1940. At the refresh interval as specified by "Process Monitors" in PM Patrol's 
  1941. "Refresh Settings", PM Patrol quietly collects vital information about active 
  1942. processes running on your system. The data collection algorithm used within the 
  1943. Process Meter facility is highly optimized and based on how frequently programs 
  1944. are used on your system, therefore using minimal CPU effort. 
  1945.  
  1946. All data is obtained by PM Patrol and requires no user input. 
  1947.  
  1948. The "Process Meter" window provides the ability to view several items about 
  1949. your programs over a range of time. This range of time is completely under your 
  1950. control as you have the ability to "Reset" the Process Meter data base any 
  1951. time. 
  1952.  
  1953.    1. Analyze the CPU consumption for each program you run relative to ALL 
  1954.       other programs that have been run since the last time you reset the 
  1955.       statistics. 
  1956.  
  1957.    2. Analyze the execution time used for each program you run relative to ALL 
  1958.       other programs that have been run since the last time you reset the 
  1959.       statistics. 
  1960.  
  1961.    3. Analyze the number of instances a program has been invoked. 
  1962.  
  1963.    4. Analyze the first and most recent date of execution for all processes run 
  1964.       on your OS/2 system. 
  1965.  
  1966.    5. Analyze the process types and priorities for all processes run on your 
  1967.       OS/2 system. 
  1968.  
  1969.    6. Sort in ascending order by process, CPU use, Run-Time, and frequency of 
  1970.       use. 
  1971.  
  1972.         a. Sort by Process sorts the list in alphabetic (ascending) order. 
  1973.  
  1974.         b. Sort by CPU Use sorts the list in descending order (processes 
  1975.            consuming most CPU are listed first). 
  1976.  
  1977.         c. Sort by Run-Time sorts the list in descending order (processes which 
  1978.            run the longest when executed are listed first). 
  1979.  
  1980.         d. Sort by Run-Count sorts the list in descending order (processes 
  1981.            which get run the most often are listed first). 
  1982.  
  1983.  Use the "Refresh" menu option (under "Action") for refreshing the Process 
  1984.  Meter window contents upon your request. PM Patrol will automatically update 
  1985.  this window for you every minute - but not when the Process Meter window is 
  1986.  the current "active" desktop window. This allows you to browse through the 
  1987.  list without being disturbed. 
  1988.  
  1989.  Use the "Reset Data Base" menu option (also under "Action") to initialize PM 
  1990.  Patrol's Process Meter data base. This erases the current list and restarts 
  1991.  the data collection process allowing you to monitor over a new range of time. 
  1992.  
  1993.  The Process Meter data base is maintained entirely by PM Patrol and saved when 
  1994.  PM Patrol is shutdown. The next time you run PM Patrol (typically at the next 
  1995.  OS/2 bootup) the data base is quickly reloaded and monitoring continues where 
  1996.  left off. 
  1997.  
  1998.  Note:  The CPU effort to collect Process Meter data, although minimal when 
  1999.  active, can be negatively influenced by adjusting the "Process Monitors" 
  2000.  frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  2001.  computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  2002.  following, but never lower: 
  2003.  
  2004.    1. 5 seconds for i386 class computers 
  2005.  
  2006.    2. 4 seconds for i486 class computers 
  2007.  
  2008.    3. 3 seconds for Pentium class computers 
  2009.  
  2010.  The items displayed in the Process Meter window are: 
  2011.  
  2012.    1. "Process" represents the name of the executable 
  2013.  
  2014.    2. "Actual CPU" represents the actual CPU effort the process has used since 
  2015.       the last time the Process Meter was reset and reflects CPU usage only 
  2016.       when the process is active. This is an absolute CPU effort and not 
  2017.       relative to other programs run. Actual CPU tells you how much CPU the 
  2018.       process uses when its run. 
  2019.  
  2020.    3. "Relative CPU" represents the CPU effort the process has used, relative 
  2021.       to other programs used, since the last time the Process Meter was reset. 
  2022.  
  2023.    4. "Run-Time" represents the total amount of execution time for the process, 
  2024.       relative to other programs used, since the last time you performed a 
  2025.       "Reset Data Base". Next to "Run-Time" is the total execution time or 
  2026.       "Duration" for the process since the last "Reset Data Base". The format 
  2027.       displayed identifies Days, Hours, Minutes, and Seconds (Dd Hh:Mm.Ss). 
  2028.  
  2029.    5. "Run-Count" represents the total number of times the process has been 
  2030.       executed relative to other processes. The actual total number of 
  2031.       instances is identified under the heading "Frequency" (abbreviated as 
  2032.       "Freq"). 
  2033.  
  2034.    6. "Type" identifies the session type which are categorized as follows: 
  2035.  
  2036.         a. "Sys" OS/2 System type processes. 
  2037.  
  2038.         b. "PM " OS/2 Presentation Manager GUI processes. 
  2039.  
  2040.         c. "VIO" OS/2 Window and full screen command prompt processes. VIO 
  2041.            represents Virtual Input/Output. 
  2042.  
  2043.         d. "VDM" DOS and Win-OS2 GUI processes. VDM represents Virtual DOS 
  2044.            Machine. 
  2045.  
  2046.         e. "Det" OS/2 detached background processes (daemons). 
  2047.  
  2048.    7. "HPri" Identifies the Highest PRIority class for the process across all 
  2049.       threads within the process. The range of priority within OS/2 provides 
  2050.       robust priority control and granularity. Priority Classes are categorized 
  2051.       as: 
  2052.  
  2053.         a. "Idle" for low priority processes which only get CPU when nothing 
  2054.            else is running and the lowest OS/2 priority. 
  2055.  
  2056.         b. "Reg" for "normal" priority processes. This is the OS/2 default and 
  2057.            will be seen most often. 
  2058.  
  2059.         c. "Fore" for foreground priority processes. This is used for 
  2060.            processes/threads which need to be treated as if they are the 
  2061.            "active" window. Net effect of this class makes the process thread 
  2062.            operate at near time-critical performance. 
  2063.  
  2064.         d. "Crit" for time-critical processes and is the highest OS/2 priority. 
  2065.            This is used for process threads which require guaranteed 
  2066.            time-slices by OS/2 but the thread's CPU needs are typically very 
  2067.            short. 
  2068.  
  2069.    8. "MMT" represents the Memory Model Type of process (16 or 32 bit) 
  2070.  
  2071.    9. "Last Run" represents the last recent date the process was executed. 
  2072.  
  2073.   10. "First Run" represents the first date the process was executed. 
  2074.  
  2075.  Note:  This release of PM Patrol's Process Meter groups together the Run-time 
  2076.  and CPU efforts for all DOS+Win programs and identifies them in the Process 
  2077.  Meter list with a Process name of "DOS/Win". OS/2 command and REXX scripts 
  2078.  (.CMD) are reflected within the Process "cmd" - the actual executable which 
  2079.  supports REXX scripts. 
  2080.  
  2081.  
  2082. ΓòÉΓòÉΓòÉ 10.4. Memory Monitor ΓòÉΓòÉΓòÉ
  2083.  
  2084. The Memory Monitor window provides an optional view of several memory 
  2085. utilization monitors. 
  2086.  
  2087. This window is refreshed automatically at the frequency as set in the "Refresh 
  2088. Settings" setting "Memory Monitors". 
  2089.  
  2090.    1. The RAM Free item identifies current free memory. 
  2091.  
  2092.    2. The RAM Used item identifies current used memory. Combined, these two 
  2093.       items will always reflect 100% of the memory installed in your computer. 
  2094.  
  2095.    3. The Resident item identifies current resident or "fixed" memory which is 
  2096.       not swappable by OS/2. Most of this memory is owned and created by OS/2 
  2097.       and will vary little. 
  2098.  
  2099.    4. The Swappable item identifies current swappable memory and only includes 
  2100.       memory that is in use and not resident (or fixed). Therefore, the sum of 
  2101.       "Resident" and "Swappable" may not always equate to total physical 
  2102.       memory. Any difference can be attributed to free (unused) memory which is 
  2103.       not swapped. 
  2104.  
  2105.    5. The Virtual RAM item identifies current Virtual Memory capacity available 
  2106.       to OS/2. This item factors in available disk space for the drive which 
  2107.       the OS/2 swapper file is located as well as swapper file size. 
  2108.  
  2109.    6. The Swap Growth item identifies how much the swapper file has grown since 
  2110.       system boot. 
  2111.  
  2112.    7. The Swap Free item identifies how much free space remains in the OS/2 
  2113.       swapper file. 
  2114.  
  2115.    8. The Cache Read and Cache Write items identify the cache hit utilization 
  2116.       for HPFS386 and is only displayed when HPFS386 is installed and active. 
  2117.  
  2118.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2119.  Monitor, and Network Monitor) active and automatically refreshing, there may 
  2120.  be too much overhead for some slower 386 class computers. Therefore, you may 
  2121.  need to use these windows selectively and not continuously. 
  2122.  
  2123.  
  2124. ΓòÉΓòÉΓòÉ 10.5. Network Monitor ΓòÉΓòÉΓòÉ
  2125.  
  2126. The Network Monitor window provides an optional view of several LAN network 
  2127. utilization monitors. 
  2128.  
  2129. This window is refreshed automatically at the frequency as set in the "Refresh 
  2130. Settings" setting "Network Monitors". 
  2131.  
  2132. The Network Monitor window is inaccessible and grayed-out in the PM Patrol 
  2133. Utility menu when LAN Server components are not installed on the workstation. 
  2134.  
  2135.    1. The Machine item identifies the workstation ID and does not change unless 
  2136.       the workstation id is changed manually and the system rebooted. 
  2137.  
  2138.    2. The User item identifies the current user logged to the LAN. 
  2139.  
  2140.    3. The Server Id item identifies the server ID that is currently logged on 
  2141.       to by the active user. 
  2142.  
  2143.    4. The Domain item identifies the domain ID that is currently logged on to 
  2144.       by the active user. 
  2145.  
  2146.    5. The Tot In item identifies the total accumulative bytes received by this 
  2147.       workstation from the LAN. The graph identifies "Total In" as compared to 
  2148.       total bytes received AND sent and therefore is a percent of total I/O. 
  2149.  
  2150.    6. The Tot Out item identifies the total accumulative bytes sent by this 
  2151.       workstation to the LAN. The graph identifies "Total Out" as compared to 
  2152.       total bytes received AND sent and therefore is a percent of total I/O. 
  2153.  
  2154.    7. The Bps In item identifies "Bytes Per Second" and is the average number 
  2155.       of bytes RECEIVED via LAN over the last "n" seconds where "n" is the 
  2156.       refresh frequency as set in the "Refresh Settings" setting "Network 
  2157.       Monitors". This offers a "snapshot" view of current average per second 
  2158.       inbound activity from the network. 
  2159.  
  2160.    8. The Bps Out item identifies "Bytes Per Second" and is the average number 
  2161.       of bytes SENT via LAN over the last "n" seconds where "n" is the refresh 
  2162.       frequency as set in the "Refresh Settings" setting "Network Monitors". 
  2163.       This offers a "snapshot" view of current average per second outbound 
  2164.       activity from the network. 
  2165.  
  2166.    9. The Bss In item identifies "Bytes Since last Sample" and is the total 
  2167.       number of bytes received via LAN over the last "n" seconds where "n" is 
  2168.       the refresh frequency as set in the "Refresh Settings". 
  2169.  
  2170.   10. The Bss Out item identifies "Bytes Since last Sample" and is the average 
  2171.       number of bytes sent via LAN over the last "n" seconds where "n" is the 
  2172.       refresh frequency as set in the "Refresh Settings". 
  2173.  
  2174.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2175.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  2176.  much overhead for some slower 386 class computers. Therefore, you may need to 
  2177.  use these windows selectively and not continuously. 
  2178.  
  2179.  
  2180. ΓòÉΓòÉΓòÉ 10.6. Port Monitor ΓòÉΓòÉΓòÉ
  2181.  
  2182. The Port Monitor window provides insight and advanced control over LPT parallel 
  2183. ports on your system. 
  2184.  
  2185. This window is refreshed automatically in real-time as events occur for all 
  2186. ports. Refresh occurs when the port is opened, closed, and after every 10 
  2187. packets pass through the port device driver. 
  2188.  
  2189. Using the "Reset" menu option, you can initialize the current statistics for 
  2190. each port. This option will reset all statistics for ALL ports, but will keep 
  2191. the LPT Controls (Pass-thru and Debug) in their current settings. PM Patrol 
  2192. will retain these statistics across each invocation of PM Patrol. It is up to 
  2193. you when you want these statistics initialized. 
  2194.  
  2195. Controlled from the "Spooler" priority object within the OS/2 System Setup 
  2196. folder, printing performance can be fine tuned for print jobs that are sent 
  2197. through the OS/2 spooler. 
  2198.  
  2199. Printing can be monitored via PM Patrol's Port Monitor whether the OS/2 spooler 
  2200. is active or not. 
  2201.  
  2202.    1. The Port item identifies the LPT port. 
  2203.  
  2204.    2. The Jobs item identifies the current total number of jobs having passed 
  2205.       through the LPT port. Technically speaking, "jobs" constitutes each time 
  2206.       the port was opened for I/O. 
  2207.  
  2208.    3. The Rate item identifies the total bytes per second (BPS) that have been 
  2209.       sent and received via the LPT port. This value is very accurate, but can 
  2210.       be influenced greatly if the "Debug" option is enabled. This value 
  2211.       constitutes an average over ACTUAL time (milliseconds) that the port is 
  2212.       open. 
  2213.  
  2214.    4. The Time item identifies the average time (seconds) for print jobs. 
  2215.  
  2216.    5. The Pass item identifies the current status of the Pass-thru option. When 
  2217.       enabled, all I/O is allowed to pass through the LPT device driver. 
  2218.       Otherwise, all I/O is "eaten". This is beneficial when simulation is 
  2219.       required. 
  2220.  
  2221.    6. The Debug item identifies the current state of "Debugging". 
  2222.  
  2223.    7. The Act item identifies whether an active job currently exists on the 
  2224.       port. 
  2225.  
  2226.  Turning on the "Debug" option allows you to monitor and watch each packet sent 
  2227.  to the port via the Debug viewing window. This feature is designed to allow 
  2228.  monitoring of packets via Debug. Using the new Debug facility, individual 
  2229.  packets can be monitored providing "data scope" capability. When Debug is 
  2230.  enabled for a selected LPT port, an artificial delay (1 second) is inserted 
  2231.  between each packet sent to the port. 
  2232.  
  2233.  The "Pass-thru" option allows you to enable/disable data to be passed through 
  2234.  the port. Used primarily for testing purposes, this feature enables the 
  2235.  simulation of port activity without an actual printer be attached. 
  2236.  
  2237.  Note:  With all PM Patrol Monitor windows (ie. Process Monitor, Memory 
  2238.  Monitor, and Network Monitor) active and automatically refreshing, may be too 
  2239.  much overhead for some slower 386 class computers. Therefore, you may need to 
  2240.  use these windows selectively and not continuously. 
  2241.  
  2242.  
  2243. ΓòÉΓòÉΓòÉ 10.7. Event Monitor ΓòÉΓòÉΓòÉ
  2244.  
  2245. The Event Monitor window allows you to view the current state of PM Patrol 
  2246. events from a "bird's eye view". 
  2247.  
  2248. The Event items reflect each of the events within PM Patrol. 
  2249.  
  2250. Active represents the current activity state of each event. A check mark will 
  2251. be displayed when the event is active. 
  2252.  
  2253. THold identifies the upper or lower Threshold limit for each event as defined 
  2254. in "Event Settings". This allows you to compare the event state and the 
  2255. threshold limit to exceed. 
  2256.  
  2257. Count identifies the number of times the event occured. This value is 
  2258. incremented each time the event threshold is exceeded the first time, but not 
  2259. upon renotification. 
  2260.  
  2261. Last State and Occurrance identifies the resource "state", date, and time when 
  2262. the event last occured. These values are updated the first time the event 
  2263. occurs and at renotification. 
  2264.  
  2265. Selecting "Reset" from the "Action" menu will allow you to initialize all event 
  2266. statistics. Event statistics are retained and accumulate across each invocation 
  2267. of PM Patrol. It is up to you when you want to reset the event statistics. 
  2268.  
  2269. This window is updated when an event occurs as well as every minute. 
  2270.  
  2271.  
  2272. ΓòÉΓòÉΓòÉ 10.8. Drives Monitor ΓòÉΓòÉΓòÉ
  2273.  
  2274. The Drives Monitor window allows you to view current drive attachments, current 
  2275. assignments (LAN), capacity, and used/free space. 
  2276.  
  2277. For network performance reasons, this window is refreshed automatically every 
  2278. minute on its own and can not be controlled from the "Refresh Settings" 
  2279. options. Use the drop-down menu option "Refresh" (under the "Action" menu) to 
  2280. manually refresh the window yourself. 
  2281.  
  2282. The "Utilization" graph displayed identifies USED space on the drive - not 
  2283. free. 
  2284.  
  2285.  
  2286. ΓòÉΓòÉΓòÉ 10.9. Status Line ΓòÉΓòÉΓòÉ
  2287.  
  2288. This section describes the monitor items that can be displayed on the main PM 
  2289. Patrol Status Line. 
  2290.  
  2291.  
  2292. ΓòÉΓòÉΓòÉ 10.9.1. Current Date ΓòÉΓòÉΓòÉ
  2293.  
  2294. Display of the current date. Selecting the "Show Julian Date" will add the 
  2295. current Julian date to this item. 
  2296.  
  2297.  
  2298. ΓòÉΓòÉΓòÉ 10.9.2. Current Time ΓòÉΓòÉΓòÉ
  2299.  
  2300. Display of the current time with the option of showing seconds as part of the 
  2301. time when "Show Seconds" is selected in the "Options" dialog. 
  2302.  
  2303.  
  2304. ΓòÉΓòÉΓòÉ 10.9.3. System Up-Time ΓòÉΓòÉΓòÉ
  2305.  
  2306. Display the total time that OS/2 has been up and running since last boot. 
  2307.  
  2308. The PM Patrol Status Line display for this monitor will reflect the format "dd 
  2309. hh:mm" representing "days", "hours", and "minutes". 
  2310.  
  2311.  
  2312. ΓòÉΓòÉΓòÉ 10.9.4. INet Connect-Time ΓòÉΓòÉΓòÉ
  2313.  
  2314. Displays the per-instance Internet Connect-Time that the workstation has been 
  2315. connected to the Internet when using a modem and the "Point-to-Point Protocol" 
  2316. (PPP) or the "Serial Line IP" (SLIP) of IBM's Internet Access Kit. 
  2317.  
  2318. The PM Patrol Status Line display for this monitor will reflect the format 
  2319. "INet: hh:mm x" representing "hours" and "minutes". The "x" is an indicator to 
  2320. inform you when your connected. A flashing arrow pointing up indicates your're 
  2321. connected. An arrow pointing down indicates your not. 
  2322.  
  2323. Used in conjunction with this feature, the "Show Total INet" option in PM 
  2324. Patrol's Options window will display the ongoing accumulative total of Internet 
  2325. Connect-Time in addition to the per-instance connect-time. 
  2326.  
  2327. This per-instance connect-time will automatically reset to zero when PM Patrol 
  2328. is stopped and then restarted, or when a new INet connection is established. PM 
  2329. Patrol stores the total INet connect-time in PM Patrol's profile. This Total 
  2330. INEt counter can only be reset manually. For manual reset, refer the Utility 
  2331. popup option ("Display" menu item) for "Reset Internet Time". 
  2332.  
  2333. The INet Connect-Time feature of PM Patrol does not apply to TCP/IP connections 
  2334. via a LAN. 
  2335.  
  2336.  
  2337. ΓòÉΓòÉΓòÉ 10.9.5. Keyboard Status ΓòÉΓòÉΓòÉ
  2338.  
  2339. The Keyboard Status displays the status of CapsLock, NumLock, and ScrollLock 
  2340. keyboard settings. 
  2341.  
  2342.  
  2343. ΓòÉΓòÉΓòÉ 10.9.6. Net User ID ΓòÉΓòÉΓòÉ
  2344.  
  2345. When logged-on to a LAN Server, the current "User ID" is displayed. This 
  2346. options requires that IBM LAN Requester network software be installed on the 
  2347. local workstation. 
  2348.  
  2349.  
  2350. ΓòÉΓòÉΓòÉ 10.9.7. Spooler Monitor ΓòÉΓòÉΓòÉ
  2351.  
  2352. This item allows you to monitor print jobs that are in print queues.  This 
  2353. includes print jobs that are Held, Printing, Canceling, and other dispositions. 
  2354. There is two types of monitoring: 
  2355.  
  2356.    1. Display total print jobs across all spooler queues. 
  2357.  
  2358.    2. Display total print jobs per spooler queue. 
  2359.  
  2360.  If you select the "Total all Print Queue" option in General Settings, then the 
  2361.  total print jobs across all queues will be shown. Otherwise, the number of 
  2362.  print jobs for each queue are shown up to a maximum of 8 queues. 
  2363.  
  2364.  The "Total all Queues" option in the "General Settings" switches between the 
  2365.  two modes identifies above. 
  2366.  
  2367.  When logged-on to a LAN Server you can monitor its remote print queues. Refer 
  2368.  to the "General Settings" section for more details. 
  2369.  
  2370.  
  2371. ΓòÉΓòÉΓòÉ 10.9.8. Process Summary ΓòÉΓòÉΓòÉ
  2372.  
  2373. This display item reveals the total current number of OS/2 processes and 
  2374. threads in the system. This includes PIDs and TIDs of any state; Blocked, 
  2375. Running, and Ready. 
  2376.  
  2377. The Process Summary items are displayed as follows; the numbers shown below are 
  2378. examples: 
  2379.  
  2380.    1. "12p" representing 14 active processes (p). 
  2381.  
  2382.    2. "63t" representing 63 active threads (t). 
  2383.  
  2384.    3. "105f" representing 105 open files (f). Open files includes all 
  2385.       executables, data files, INI files, DLLs, WPS objects, and any other type 
  2386.       of file you can think of. 
  2387.  
  2388.  
  2389. ΓòÉΓòÉΓòÉ 10.9.9. Drives On-line ΓòÉΓòÉΓòÉ
  2390.  
  2391. This item displays the current drive letters for available drives accessible 
  2392. from this computer.  Network drives are supported. 
  2393.  
  2394.  
  2395. ΓòÉΓòÉΓòÉ 10.9.10. Drive 1-6 Monitors ΓòÉΓòÉΓòÉ
  2396.  
  2397. Displays the free space (MB) for a selected drive. To select a different drive 
  2398. to monitor you may choose you one of the following methods: 
  2399.  
  2400.    1. Single click the right mouse button on the PM Patrol Status Line and then 
  2401.       select the "Drives" menu item.  Select "Monitor" to choose a drive. 
  2402.  
  2403.    2. Double click the left mouse button on the PM Patrol Status Line to get 
  2404.       the Options dialog.  Then select the "Utility" menu bar item followed by 
  2405.       the "Drives" menu option. 
  2406.  
  2407.  Selected drives will be permanently "remembered" as defaults when changed. 
  2408.  
  2409.  Selected drives will report a "?" when the drive changes "off-line".  This can 
  2410.  occur if the drive is a network drive and the user performs a LOGOFF.  Or, 
  2411.  removing a removable media type such as a floppy diskette. 
  2412.  
  2413.  By default, PM Patrol maps drives 1 through 6 on the Status Line to drives C 
  2414.  through H. This drive mapping can be changed to any desired combination. 
  2415.  
  2416.    1. From the PM Patrol Status Line, right-click the Status Line. 
  2417.  
  2418.    2. Select the "Drives" menu option 
  2419.  
  2420.    3. Then select the "Status Line" option. 
  2421.  
  2422.    4. This will display a menu identifying the current drive mappings assigned. 
  2423.       Select the PM Patrol drive number you wish to change. 
  2424.  
  2425.    5. A mini dialog will popup displaying current drives on-line and 
  2426.       accessible. Choose which drive to map. 
  2427.  
  2428.    6. To tell PM Patrol to show the drive on the Status Line select the drive 
  2429.       number in PM Patrol's "Status Line Monitors" in the "Options" dialog. 
  2430.  
  2431.    7. This information is saved and remembered by PM Patrol. 
  2432.  
  2433.  When a drive being monitored goes off-line, PM Patrol displays a "?" in place 
  2434.  of the free space for the drive to inform you the drive is off-line. This is 
  2435.  more common when monitoring remote drives on a network. 
  2436.  
  2437.  
  2438. ΓòÉΓòÉΓòÉ 10.9.11. Battery Status ΓòÉΓòÉΓòÉ
  2439.  
  2440. This item informs the user how much battery power is remaining. 
  2441.  
  2442. The OS/2 APM facilities assume the battery to be 100% new. As the battery ages, 
  2443. the original maximum life of the battery diminishes. Especially for NICad 
  2444. batteries. PM Patrol allows you to specify a "new" maximum life. When set at 
  2445. zero, observe the PM Patrol "Bat" percentage. When your computer informs you 
  2446. the battery is dangerously low (usually several short beeps), observe the 
  2447. percentage that PM Patrol reports. This value becomes the new "zero" point. 
  2448. Select this value in the "Battery Calibration" field in the "General Settings" 
  2449. dialog. Repeat this process every 3-4 months to ensure accurate and reliable 
  2450. battery readings. 
  2451.  
  2452. Note:  This option is accessible only if APM is installed via OS/2 and the 
  2453. computer is a mobile computer capable of power management (i.e. 386sl+). 
  2454.  
  2455. When (and if) the battery status is unknown, PM Patrol displays a question mark 
  2456. in replacement of the actual percentage of power remaining. 
  2457.  
  2458.  
  2459. ΓòÉΓòÉΓòÉ 10.9.12. HPFS386 Cache Monitor ΓòÉΓòÉΓòÉ
  2460.  
  2461. PM Patrol will monitor the read/write cache hit ratio for systems running the 
  2462. 32-bit High Performance File System (HPFS386). 
  2463.  
  2464. The read/write percentages are displayed on the PM Patrol Status Line with the 
  2465. abbreviation "Crw". This abbreviation represents "Cache Read Writes", so the 
  2466. first percentage seen is Reads and the second percentage is writes. 
  2467.  
  2468. Note:  This version of PM Patrol only supports the ability to obtain Cache 
  2469. ratios from HPFS386 and not the 16-bit HPFS shipped with OS/2. PM Patrol will 
  2470. display a "?" if HPFS386 Cache Monitoring is selected but not installed/active. 
  2471.  
  2472.  
  2473. ΓòÉΓòÉΓòÉ 10.9.13. Swap Monitor ΓòÉΓòÉΓòÉ
  2474.  
  2475. This display option displays the current size of the OS/2 swapper file. If the 
  2476. "Show Percent" option for this monitor is selected, then the percent of free or 
  2477. used swap space is also displayed. When the "Invert Swap" option is selected, 
  2478. this will show used Swap. Otherwise, free and available Swap is displayed. 
  2479.  
  2480. Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  2481. Patrol's calculation of free swap space is an approximation and may not result 
  2482. in an exact calculation all the time. As compared to all PM Patrol's resource 
  2483. monitors, swap utilization is the only one that may yield approximation. For 
  2484. systems that are memory rich and therefore swap little, monitoring swap 
  2485. utilization may not be necessary. 
  2486.  
  2487.  
  2488. ΓòÉΓòÉΓòÉ 10.9.14. Virtual RAM Monitor ΓòÉΓòÉΓòÉ
  2489.  
  2490. Virtual RAM item identifies current Virtual Memory capacity available to OS/2. 
  2491. This item factors in available disk space for the drive which the OS/2 swapper 
  2492. file is located as well as swapper file size. When the "Invert Virtual RAM" 
  2493. option is selected, this will show used Virtual Memory. Otherwise, free and 
  2494. available Virtual Memory is displayed. If the "Show Percent" option for this 
  2495. monitor is selected, then the percent of free or used Virtual RAM is also 
  2496. displayed. 
  2497.  
  2498.  
  2499. ΓòÉΓòÉΓòÉ 10.9.15. Resident RAM Monitor ΓòÉΓòÉΓòÉ
  2500.  
  2501. The Resident RAM monitor allows you to see OS/2 memory which is non-swappable 
  2502. fixed memory. Typically, this will include OS/2 system memory and any memory 
  2503. allocated by processes which is marked as non-discardable memory. If the "Show 
  2504. Percent" option for this monitor is selected, then the percent of free or used 
  2505. Resident RAM is also displayed. 
  2506.  
  2507.  
  2508. ΓòÉΓòÉΓòÉ 10.9.16. Real RAM Monitor ΓòÉΓòÉΓòÉ
  2509.  
  2510. This displays the amount of free or used RAM (k). When "Show Percent" is 
  2511. selected for this monitor, the percentage of RAM is also displayed. When the 
  2512. "Invert Real RAM" option is selected, Real RAM will be reported as used Real 
  2513. RAM. Otherwise, free and available Real RAM is displayed. 
  2514.  
  2515. Optionally, you can view free or used RAM in bar-graph form by enabling the 
  2516. "RAM Graph" option in the "Quick Configure" section of the "Options" dialog. 
  2517.  
  2518. OS/2 views memory as a flat linear address space and deploys a true Virtual 
  2519. Memory Model. Because of this, calculation of Free Memory is subject to the 
  2520. following constraint. 
  2521.  
  2522. Note:  If your system hardware consists of MORE than 16MB of memory and the 
  2523. hard disk controller is a 16-bit adapter, calculation of Free Memory may not be 
  2524. accurately reported. Use a 32-bit disk controller adapter with more than 16MB 
  2525. RAM. 
  2526.  
  2527.  
  2528. ΓòÉΓòÉΓòÉ 10.9.17. CPU Monitor ΓòÉΓòÉΓòÉ
  2529.  
  2530. PM Patrol monitors the CPU utilization every second. If the "CPU Graph" has 
  2531. been enabled in the Options dialog, then a bar-graph view of CPU usage is 
  2532. displayed in addition to the percentage. 
  2533.  
  2534. Along with the current CPU load, PM Patrol also maintains a rolling average of 
  2535. CPU utilization over 1 minute. This is called the "CPU Average" in PM Patrol. 
  2536.  
  2537.  
  2538. ΓòÉΓòÉΓòÉ 10.9.18. User Defined Monitor ΓòÉΓòÉΓòÉ
  2539.  
  2540. PM Patrol provides a "user defined" monitor to be displayed at the end of the 
  2541. main Status Line and can be logged in the Logging Facility. Using the PM Patrol 
  2542. "DCFUserDefined" API within a C/C++ program, you can format a monitor buffer of 
  2543. your choice. Refer to the API description for DCFUserDefined for details. 
  2544.  
  2545.  
  2546. ΓòÉΓòÉΓòÉ 11. Utility ΓòÉΓòÉΓòÉ
  2547.  
  2548. The Utility section provides a growing number of utility items. This section 
  2549. will, along with monitor items, continue to grow in functionality. 
  2550.  
  2551. The "Utility" menu can be accessed from the PM Patrol "Options" dialog or from 
  2552. the PM Patrol Status Line and clicking the right mouse button. 
  2553.  
  2554.  
  2555. ΓòÉΓòÉΓòÉ 11.1. Logger ΓòÉΓòÉΓòÉ
  2556.  
  2557. The Logger facility provides a robust mechanism for recording all PM Patrol 
  2558. monitors to a file. Once logged, the user can "view" the logged data for 
  2559. further review. 
  2560.  
  2561. Most monitor items can be selected/deselected from being logged in the "Logger 
  2562. Settings" along with several other Logger Options such as duration, frequency, 
  2563. and location of log file(s). 
  2564.  
  2565. The log file is ASCII and able to be further manipulated using tools such as 
  2566. Rexx, AWK, and GREP. A convenient "field separator" (vertical bar=0xb3) is 
  2567. included in the log file for identifying individual fields in the log file 
  2568. record. 
  2569.  
  2570. The PM Patrol Logger is designed with special consideration for performance. 
  2571. When logging, the Logger mechanism requires very little CPU. The PM Patrol 
  2572. Logger can be used in a variety of situations: 
  2573.  
  2574.    1. Real-time and time critical logging with 1 second samples. 
  2575.  
  2576.    2. Casual logging with infrequent (1 per minute) samples 
  2577.  
  2578.  
  2579. ΓòÉΓòÉΓòÉ 11.1.1. Start/Stop ΓòÉΓòÉΓòÉ
  2580.  
  2581. The Start/Stop option start or stops the logging activity. 
  2582.  
  2583.  
  2584. ΓòÉΓòÉΓòÉ 11.1.2. View Primary Log ΓòÉΓòÉΓòÉ
  2585.  
  2586. The View Primary Log option allows you to view the contents of the information 
  2587. recently logged. The Viewer program can be defined in the "General Settings" 
  2588. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2589.  
  2590. The name and location of the primary log file is user settable. This is 
  2591. specified in the "Logger Settings" settings. 
  2592.  
  2593.  
  2594. ΓòÉΓòÉΓòÉ 11.1.3. View Backup Log ΓòÉΓòÉΓòÉ
  2595.  
  2596. The View Backup Log option allows you to view the contents of the information 
  2597. logged previously. If the "backup log" option is not enabled, this option is 
  2598. not accessible. 
  2599.  
  2600. The location of the backup log file is the same as the location for the primary 
  2601. log file as specified in the PM Patrol "Logger Settings". 
  2602.  
  2603. The name of the backup log file name is always "PMPATROL.BAK". 
  2604.  
  2605.  
  2606. ΓòÉΓòÉΓòÉ 11.1.4. Delete All Logs ΓòÉΓòÉΓòÉ
  2607.  
  2608. The Delete All Logs option allows you to delete all PM Patrol log files from 
  2609. disk (if present). This includes the primary and backup log files. 
  2610.  
  2611.  
  2612. ΓòÉΓòÉΓòÉ 11.2. Debug ΓòÉΓòÉΓòÉ
  2613.  
  2614. The Debug facility is a flexible and easy to use real-time Debugger for the 
  2615. software developer that provides debugging capabilities that are impossible for 
  2616. the source-level debugger, easier to use, and often more convenient. 
  2617.  
  2618. Debug is used by the PM Patrol Port Monitor to provide a "data scope" for 
  2619. information being passed through the printer port for LPT1-LPT3. 
  2620.  
  2621. Once logged, the user can "view" the logged data for further review. The log 
  2622. file is ASCII and able to be further manipulated using tools such as Rexx, AWK, 
  2623. and GREP. 
  2624.  
  2625.  
  2626. ΓòÉΓòÉΓòÉ 11.2.1. Start/Stop Debug ΓòÉΓòÉΓòÉ
  2627.  
  2628. The Start/Stop Debug option starts or stops the Debug Facility. 
  2629.  
  2630.  
  2631. ΓòÉΓòÉΓòÉ 11.2.2. Start/Stop Debug Log ΓòÉΓòÉΓòÉ
  2632.  
  2633. Output from the Debug facility is sent to the Debug viewing window. When 
  2634. logging is started, the output also goes to the "DBUG.LOG" file and is 
  2635. immediately viewable. 
  2636.  
  2637. When logging is stopped, the "DBUG.LOG" is closed. The next time logging is 
  2638. started, the "DBUG.LOG" file is backed-up to "DBUG.BAK" and a new "DBUG.LOG" is 
  2639. created. 
  2640.  
  2641.  
  2642. ΓòÉΓòÉΓòÉ 11.2.3. View Primary Log ΓòÉΓòÉΓòÉ
  2643.  
  2644. The View Primary Log option allows you to view the contents of the information 
  2645. recently logged. The Viewer program can be defined in the "General Settings" 
  2646. section. The default Viewer is the PM Patrol's View program "PMPVIEW.EXE". 
  2647.  
  2648. The name and location of the Debug log files are constant. Located in the PM 
  2649. Patrol installation directory, log files are named "DBUG.LOG" for the primary 
  2650. and "DBUG.BAK" for the backup log file. 
  2651.  
  2652.  
  2653. ΓòÉΓòÉΓòÉ 11.2.4. View Backup Log ΓòÉΓòÉΓòÉ
  2654.  
  2655. The View Backup Log option allows you to view the contents of the information 
  2656. logged previously. 
  2657.  
  2658.  
  2659. ΓòÉΓòÉΓòÉ 11.2.5. Delete Debug Logs ΓòÉΓòÉΓòÉ
  2660.  
  2661. The Delete Debug Logs option allows you to delete all Debug log files from disk 
  2662. (if present). This includes the primary and backup log files. 
  2663.  
  2664.  
  2665. ΓòÉΓòÉΓòÉ 11.3. Drives ΓòÉΓòÉΓòÉ
  2666.  
  2667. The Drives options provides the ability to switch drives that are on-line and 
  2668. you wish to monitor, format(full and fast), check and view summary information 
  2669. for a particular drive. 
  2670.  
  2671. This is accessed from the PM Patrol "Utility" menu. 
  2672.  
  2673.  
  2674. ΓòÉΓòÉΓòÉ 11.3.1. Status Line ΓòÉΓòÉΓòÉ
  2675.  
  2676. The Status Line option provides the ability to switch drives that are on-line 
  2677. that you may want to monitor on the PM Patrol Status Line. After selecting the 
  2678. drive (1 through 6) to change, the "Drives List" popup allows you to select a 
  2679. drive. 
  2680.  
  2681. After selecting a drive from the "Drive List", the drive appears on the PM 
  2682. Patrol Status Line and is remembered when PM Patrol is ended. 
  2683.  
  2684.  
  2685. ΓòÉΓòÉΓòÉ 11.3.2. Drive Map and Summary ΓòÉΓòÉΓòÉ
  2686.  
  2687. The Drive Map and Summary option provides the ability to view summary, detail, 
  2688. and directory map information for a selected drive. 
  2689.  
  2690. The Drive Summary options displays volume specifics as well as media format and 
  2691. device type. Summary level data displays a wealth of information. 
  2692.  
  2693. The Drive Map option displays a graphical view of directories, size of 
  2694. directories, and distribution of directory sizes relative to total USED space 
  2695. on the file system. 
  2696.  
  2697. The bar-graph is calculated in comparison to the LARGEST size directory found 
  2698. on the drive, while the percentage is calculated in comparison to the total 
  2699. USED space on the drive. 
  2700.  
  2701. Note:  The Drive Map "Bytes" reflects total space USED per directory and 
  2702. includes both Slack bytes and EA bytes of files in the subdirectory - not just 
  2703. the bytes comprising each file. 
  2704.  
  2705.  
  2706. ΓòÉΓòÉΓòÉ 11.4. Spooler ΓòÉΓòÉΓòÉ
  2707.  
  2708. The Spooler options support a variety of Print Spooler utilities such as: 
  2709.  
  2710.    1. Purge all print jobs in a Print Queue (Local or Remote) 
  2711.  
  2712.    2. Release all print jobs in a Print Queue (Local or Remote) 
  2713.  
  2714.    3. Hold all print jobs in a Print Queue (Local or Remote) 
  2715.  
  2716.  If logged on to a LAN Server and signed-on under the LAN Administrator ID, ALL 
  2717.  functions can be performed remotely for any LAN Server and these functions 
  2718.  will affect ALL print jobs for the specified Print Queue. Otherwise, these 
  2719.  functions will be performed for any print jobs OWNED by the current user of 
  2720.  the workstation for the specified Print Queue. 
  2721.  
  2722.  Note:  The "Purge Queue" function deletes ALL print jobs of any state (held, 
  2723.  printing, spooling, or released). 
  2724.  
  2725.  
  2726. ΓòÉΓòÉΓòÉ 11.5. Programs ΓòÉΓòÉΓòÉ
  2727.  
  2728. The Programs option provides quick access to user definable programs. Using the 
  2729. "Program Settings" dialog, you can add up to 45 of your favorite programs. 
  2730.  
  2731.  
  2732. ΓòÉΓòÉΓòÉ 11.5.1. Program Settings ΓòÉΓòÉΓòÉ
  2733.  
  2734. The "Program Settings" dialog allows you to specify: 
  2735.  
  2736.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  2737.       field in order for the entry to appear on the program popup menu. 
  2738.  
  2739.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  2740.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  2741.       in order for the entry to appear on the program popup menu. 
  2742.  
  2743.    3. The "Parameters" field allows you to enter any program parameters that 
  2744.       may be required by the program you want to run. You can have PM Patrol 
  2745.       prompt you for parameters when you launch the program by entering a '?' 
  2746.       as the first character in the "Parameters" field. Place default 
  2747.       parameters after the '?' if desired. This will invoke a dialog box when 
  2748.       you run the program and allow you to enter new parameters. 
  2749.  
  2750.    4. The "Working Directory" informs the program launcher what the default 
  2751.       drive and directory are to be when the program is launched. 
  2752.  
  2753.  The "Resort" button allows you to sort the program list. PM Patrol will 
  2754.  automatically keep the list sorted for you. While your adding programs to the 
  2755.  list in this window, PM Patrol will NOT automatically resort the list while 
  2756.  your're working on it. Therefore, this "Resort" button gives you the option as 
  2757.  to when you want to see it resorted. When you close this window, the list is 
  2758.  automatically resorted for you. 
  2759.  
  2760.  The "Session" group allows you to further control HOW you wish to run the 
  2761.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  2762.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  2763.  
  2764.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  2765.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2766.  
  2767.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  2768.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  2769.  
  2770.  The "Window" group allows you to start the program in a minimized state. 
  2771.  Additionally, you can select "Display existing window" to control the behavior 
  2772.  when you run the program again.  All programs are run in the "Foreground". 
  2773.  With this enabled, PM Patrol will only allow 1 instance of the program to run 
  2774.  and make the active instance of the program the foreground session. Otherwise, 
  2775.  a new and separate session is started. 
  2776.  
  2777.  The "Priority" group allows you advanced process control over a program's OS/2 
  2778.  priority. This includes both priority "Class" as well as the priority "Range" 
  2779.  within the Class. 
  2780.  
  2781.  Within the "Class" control, you can select 1 of 4 different classes: 
  2782.  
  2783.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  2784.       should typically be used for most programs. If your're unsure of the 
  2785.       Class setting, use "Regular". 
  2786.  
  2787.    2. "Idle" class indicates that a program should only execute when nothing 
  2788.       else is running. Typically used for carefree background processes. 
  2789.  
  2790.    3. "Foreground" class indicates that a program should execute at a 
  2791.       fixed-high priority, but below time critical as if it were the "active" 
  2792.       window. Net effect of this class makes the process operate at near 
  2793.       time-critical performance. 
  2794.  
  2795.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  2796.       Understand that selecting this may cause other programs running to 
  2797.       execute slower. 
  2798.  
  2799.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  2800.  different Range priority levels within each Class. 
  2801.  
  2802.    1. "Regular" Range identifies the "normal" and default priority setting 
  2803.       within the Class selected. This should typically be used for most 
  2804.       programs and is the default. If you are unsure of the Range setting, use 
  2805.       "Regular". 
  2806.  
  2807.    2. "Low" Range identifies the lowest possible priority setting within the 
  2808.       Class selected. Low and Regular have identical effects. This was chosen 
  2809.       by design to avoid confusion as to what was a "normal" Range setting. 
  2810.  
  2811.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  2812.       High Ranges. 
  2813.  
  2814.    4. "High" Range indicates the highest possible priority within the class 
  2815.       selected. 
  2816.  
  2817.  Note:  Use "Regular" for both Class and Range settings when the priority 
  2818.  requirement of the process is unknown; this should be used as the default in 
  2819.  all situations. You should rarely (if ever) set the priority combination to 
  2820.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  2821.  to its knees for a very CPU bound program. 
  2822.  
  2823.  Note:  Once launched, a program can change its own priority Class and Range 
  2824.  settings. This means that PM Patrol sets the program's "default" priorities 
  2825.  with those that you select, but does not control it after the program has been 
  2826.  launched. A good example of this is running Windows programs. The Win-OS/2 
  2827.  environment will typically change the priority to "Regular" for both Class and 
  2828.  Range. 
  2829.  
  2830.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  2831.  highlighted program in the "Program List". To change an existing program's 
  2832.  properties, simply select the program in the list, then change the desired 
  2833.  fields for the program. Changes are immediate. 
  2834.  
  2835.  Alternately, you can click the right mouse button while the mouse pointer is 
  2836.  positioned over the "Program List" to get a quick access popup menu to the 
  2837.  actions. 
  2838.  
  2839.  
  2840. ΓòÉΓòÉΓòÉ 11.6. Desktop ΓòÉΓòÉΓòÉ
  2841.  
  2842. The System Setup option opens the OS/2 WorkPlace Shell "System Setup" folder 
  2843. object. 
  2844.  
  2845. The System Startup option opens the OS/2 WorkPlace Shell "Startup" folder 
  2846. object. 
  2847.  
  2848. The Tools option opens the OS/2 WorkPlace Shell "Main" folder for an assortment 
  2849. of OS/2 tools. 
  2850.  
  2851. The Games option opens the OS/2 WorkPlace Shell "Games" folder for an 
  2852. assortment of OS/2 games. 
  2853.  
  2854. The Drives option opens the OS/2 WorkPlace Shell "Drives" folder for disk 
  2855. utilities. 
  2856.  
  2857. The LaunchPad option opens the OS/2 WorkPlace Shell LaunchPad object. 
  2858.  
  2859. The Minimized option opens the OS/2 WorkPlace Shell "Minimized" folder object. 
  2860.  
  2861. The Templates option opens the OS/2 WorkPlace Shell "Templates" folder object. 
  2862.  
  2863. The Information option opens the OS/2 WorkPlace Shell "Information" folder for 
  2864. an assortment of books. 
  2865.  
  2866. The Command Prompts option opens the OS/2 WorkPlace Shell "Command Prompts" 
  2867. folder for an assortment of OS/2 command windows. 
  2868.  
  2869. The Font Palette option opens this OS/2 WorkPlace Shell palette 
  2870.  
  2871. The Color Palette option opens this OS/2 WorkPlace Shell palette 
  2872.  
  2873. The Minimize Windows option minimizes all visible windows on the OS/2 desktop. 
  2874. Convenient for periodically "clearing" the desktop when too many windows are 
  2875. active. 
  2876.  
  2877. The Restart Desktop option allows you to restart your OS/2 desktop and 
  2878. optionally specify a different set of OS/2 INI files to use. This option is 
  2879. particularly useful in network environments where individuals move from 
  2880. workstation to workstation and wish to inherit their "desktop personality" on a 
  2881. different PC. The "Defaults" option is designed to facilitate the the process 
  2882. of quickly switching back to the local workstation's default INI files. The 
  2883. "Restart Desktop" is unavailable when PM Patrol is started in "Secured" mode. 
  2884.  
  2885. Note:  Be aware that on some multimedia enabled systems, restarting the OS/2 
  2886. desktop may temporarily disable multimedia (MMPM/2). 
  2887.  
  2888. The Restore Windows option restores all minimized windows in the OS/2 Task 
  2889. Window or Minimized Folder to the OS/2 desktop. 
  2890.  
  2891. The Close All Folders option quickly closes all open OS/2 desktop folders. 
  2892. Convenient for periodically "clearing" the desktop when too many windows are 
  2893. active. 
  2894.  
  2895. The PM Patrol Shutdown option is an alternate way to shutdown PM Patrol 
  2896. quickly. This option will only appear in the Utility Popup menu when invoked 
  2897. from the PM Patrol Status Line. When selected, this will shutdown PM Patrol 
  2898. quickly and without confirmation. If PM Patrol is started in "Secured Mode 
  2899. (-S)", this option is not available and will not appear in the menu. If the PM 
  2900. Patrol Password is set, then you will be prompted to enter the correct password 
  2901. before PM Patrol is shutdown. 
  2902.  
  2903. The Normal OS/2 Shutdown option is an alternate way to perform a normal OS/2 
  2904. shutdown. If the PM Patrol Password is set, then you will be prompted to enter 
  2905. the correct password before a shutdown is granted. 
  2906.  
  2907. The Forced OS/2 Shutdown option is used when the normal OS/2 shutdown procedure 
  2908. is unresponsive and will shutdown OS/2 active file systems. This should be used 
  2909. as a last resort. If the PM Patrol Password is set, then you will be prompted 
  2910. to enter the correct password before a forced shutdown is granted. 
  2911.  
  2912. Note:  This forces a proper OS/2 shutdown for all active file systems and open 
  2913. files, but does not perform a WorkPlace Shell shutdown. Any recent changes to 
  2914. the OS/2 desktop since the last normal OS/2 shutdown may not be saved. 
  2915.  
  2916.  
  2917. ΓòÉΓòÉΓòÉ 11.7. Display ΓòÉΓòÉΓòÉ
  2918.  
  2919. The Open Monitor Windows option opens and activates all PM Patrol Monitor 
  2920. windows including Process Monitor, Memory Monitor, and Network Monitor. This 
  2921. provides quick access to these popular monitor windows of PM Patrol. 
  2922.  
  2923. The Close Monitor Windows option closes all PM Patrol Monitor windows including 
  2924. Process Monitor, Memory Monitor, and Network Monitor. 
  2925.  
  2926. The Suspend Status Line option freezes the Status Line display until you Resume 
  2927. the display. 
  2928.  
  2929. The Hide Status Line option hides the Status Line display until you re-select 
  2930. it from the OS/2 Window List. While hidden, all active PM Patrol operations 
  2931. continue unless the display has been "suspended". This option is convenient for 
  2932. those who wish to temporarily view the desktop window below PM Patrol or for 
  2933. security purposes. 
  2934.  
  2935. The Refresh Status Line option immediately forces PM Patrol to re-sample and 
  2936. refresh all items being monitored on the PM Patrol main Status Line. 
  2937.  
  2938. The Reset Internet Time option allows you to reset the Internet Connect-Time to 
  2939. zero. This can be useful for tracking and costing Internet access. 
  2940.  
  2941.  
  2942. ΓòÉΓòÉΓòÉ 11.8. Utilities ΓòÉΓòÉΓòÉ
  2943.  
  2944. This menu contains several additional utilities that are always 1 click away 
  2945.  
  2946.  
  2947. ΓòÉΓòÉΓòÉ 11.8.1. Sleep Now ΓòÉΓòÉΓòÉ
  2948.  
  2949. The Sleep Now option places the mobile computer (SL chips) into suspend mode. 
  2950. This option is accessible only when APM (Advanced Power Management) is 
  2951. installed and the user is not logged-on to the LAN Server for workstations 
  2952. connected to a LAN Server network. Refer to the OS/2 Installation Guide for APM 
  2953. details. 
  2954.  
  2955.  
  2956. ΓòÉΓòÉΓòÉ 11.8.2. Fast Find ΓòÉΓòÉΓòÉ
  2957.  
  2958. The Fast Find option provides a way to find files on a particular disk drive. A 
  2959. number of search constraints are available such as finding 32-bit, open files, 
  2960. and files with a combination of attributes set (Read Only, Hidden, etc.). 
  2961.  
  2962. Enter the desired drive and file/pattern to search for. Click "Find" (or Enter] 
  2963. to begin the search. Click "Stop" to cancel the search. Select "All Drives" to 
  2964. search for files across all drives currently on-line. 
  2965.  
  2966. Note:  Refer to the "FF" command line utility also shipped with PM Patrol for 
  2967. searching and collecting files from the command line. 
  2968.  
  2969. Note:  Refer to the "FDUPS" command line utility also shipped with PM Patrol 
  2970. for searching and collecting files that are duplicate from the command line. 
  2971.  
  2972. The container control in the Fast Find window supports right-click popups for 
  2973. quick access to "Action" items and double-click selections. 
  2974.  
  2975. Double-clicking in the Fast Find window invokes "Edit", "View", or "Execute" 
  2976. options for the item selected. If the item is a multimedia WAV file, the WAV 
  2977. file is played. 
  2978.  
  2979. The "Last Write" and "Last Access" days allow you to specify a number of days 
  2980. that the file must meet or exceed (>=) for the Fast Find facility to collect. 
  2981. This is advantageous when searching for inactive files for LAN administration. 
  2982.  
  2983. Note:  The "Last Access" date is only applicable to file systems that support 
  2984. this attribute, such as HPFS. FAT does NOT support this file system attribute 
  2985. and therefore use of "Last Access" days should be avoided. 
  2986.  
  2987. The "File Size" field provides that ability to narrow the search and look for 
  2988. files where the file size meets or exceeds a given size. This size is specified 
  2989. in terms of Kilobytes (KB). For example, If your're searching for files greater 
  2990. than or equal to 512K, then enter 512. 
  2991.  
  2992. Additional search criteria allows you to narrow the search for: 
  2993.  
  2994.    1. "OS2/Win" files. These are files that are OS/2 PM and Windows files using 
  2995.       Win API calls. Files include *.DLL, *.EXE, *.SYS and more. 
  2996.  
  2997.    2. "32-Bit" files.  These are files that are 32-bit OS/2 files. Files 
  2998.       include *.EXE, *.DLL, *.SYS, and more. 
  2999.  
  3000.    3. "Opened" files.  These are files that are currently open and in use by 
  3001.       other OS/2, DOS, or Windows programs. 
  3002.  
  3003.    4. "DOS" files.  These are files that DOS only files and include *.EXE, 
  3004.       *.COM, and more. 
  3005.  
  3006.       Note:  Searching for files with the above specified attributes causes 
  3007.       overhead and should be used selectively. Searching for "Opened" files 
  3008.       causes considerable overhead and could take several minutes to complete 
  3009.       the search. 
  3010.  
  3011.  Also provided is the ability to restrict the search to finding only files with 
  3012.  particular file attributes. Such as Hidden, Read-Only, and more.  Selecting 
  3013.  these items causes a "RESTRICTIVE" search - not "INCLUSIVE". 
  3014.  
  3015.  You can customize the display items (file slack size, file EA size, last write 
  3016.  and access dates) in the "View" menu option. These settings will be saved 
  3017.  automatically when PM Patrol is shutdown. 
  3018.  
  3019.  There are several "Action" items that are provided. These include the ability 
  3020.  to "Edit", "View", and "Delete" files that are selected. To select items, 
  3021.  simply single click the item or "Select All" items in the list. Be careful of 
  3022.  the "Delete" option. It works well - even if the file is marked as read-only, 
  3023.  the files will be deleted. A popup message box is displayed to confirm your 
  3024.  "Delete" request. 
  3025.  
  3026.  The "File" and "Edit" options operate the same way as in the "Process 
  3027.  Monitor","Drives Monitor", System Info" windows, and all others. These options 
  3028.  allow you to copy/append to the clipboard, save list to a file, or print list 
  3029.  to a printer. 
  3030.  
  3031.  The Fast Find facility allows you to specify that search operations should 
  3032.  always run at a low priority - only when there is little OS/2 activity. This 
  3033.  can be specified in the "General Settings" setup and may be desirable for LAN 
  3034.  administration functions. This is identified by "Idle Time Searches". 
  3035.  
  3036.  
  3037. ΓòÉΓòÉΓòÉ 11.8.3. Fast Help ΓòÉΓòÉΓòÉ
  3038.  
  3039. The Fast Help option provides very fast access to a complete list of OS/2 
  3040. Information (.INF) and Help (.HLP), and DOS+Windows (.HLP) files that are 
  3041. on-line and available for viewing. 
  3042.  
  3043. Accessed from the PM Patrol Utility menu, the Fast Help feature creates a "Help 
  3044. Data Base" the first time it's accessed. Stored where PM Patrol is installed, 
  3045. the help data base refresh can take a minute to build. 
  3046.  
  3047. Subsequent invocations of the Fast Help window do not auto-refresh the help 
  3048. data base. It is up to you when you wish to refresh the data base. PM Patrol 
  3049. searches ALL drives on-line when refreshing the help data base. 
  3050.  
  3051. Via the "View" menu item, you can filter-out duplicate help files to make 
  3052. navigating the list a bit easier. 
  3053.  
  3054. To view a on-line help file, simply double click on the file in the list. 
  3055. DOS+Windows help files are always viewed seamlessly on the OS/2 desktop. 
  3056.  
  3057. The "Filter" options operate in the following manners: 
  3058.  
  3059.    1. The "Filter Duplicates" removes duplicate help files from the window 
  3060.       list. As a result, only unique help files are displayed. 
  3061.  
  3062.    2. The "Filter OS/2 Files" removes OS/2 specific help files (both .INF and 
  3063.       .HLP) from the window list. As a result, only DOS+Windows help files are 
  3064.       displayed. 
  3065.  
  3066.    3. The "Filter Win Files" removes DOS+Windows specific help files (.HLP) 
  3067.       from the window list. As a result, only OS/2 help files are displayed. 
  3068.  
  3069.  Note:  Limitation with OS/2 .HLP help files. Due to the nature of OS/2 .HLP 
  3070.  help files, only one of these help files can be viewed at a time through PM 
  3071.  Patrol's Fast Help facility. If another .HLP help file is selected, the 
  3072.  previous .HLP help file will be closed down. There are no limitations with 
  3073.  OS/2 .INF or DOS+Windows .HLP help files. 
  3074.  
  3075.  
  3076. ΓòÉΓòÉΓòÉ 11.8.4. System Info ΓòÉΓòÉΓòÉ
  3077.  
  3078. The System Info displays 3 basic types of information: 
  3079.  
  3080.    1. OS/2 System information displays the basic configuration of OS/2 and the 
  3081.       hardware present on your system. Many of the items are static and don't 
  3082.       change while OS/2 is operating. Many of these items are modifiable in the 
  3083.       CONFIG.SYS. Refer to OS/2 help for more detail. 
  3084.  
  3085.    2. Presentation Manager colors. These can be modified via the "Color 
  3086.       Palette" in the OS/2 "System" folder. 
  3087.  
  3088.    3. Presentation Manager information displays items specific to PM. Many of 
  3089.       these can be modified in the "Setup" folder of the WorkPlace Shell. 
  3090.  
  3091.  
  3092. ΓòÉΓòÉΓòÉ 11.8.5. Scheduler ΓòÉΓòÉΓòÉ
  3093.  
  3094. The Scheduler option provides quick access to user definable programs that are 
  3095. to be run at specified times. Using the "Scheduler Settings" dialog, you can 
  3096. add up to 128 of programs to run at specified times. 
  3097.  
  3098. Similar in function to the UNIX CRON utility, the "Scheduler" provides the 
  3099. ability to run any program at user specified days and times. 
  3100.  
  3101. The "Scheduler Settings" dialog allows you to specify: 
  3102.  
  3103.    1. The "Program Name". Duplicate names are allowed. This field is a required 
  3104.       field in order for the entry to appear on the program popup menu. 
  3105.  
  3106.    2. The "Path and File Name" for the executable (.EXE or .COM).  To invoke 
  3107.       the OS/2 command prompt enter "CMD.EXE". This field is a required field 
  3108.       in order for the entry to appear on the program popup menu. 
  3109.  
  3110.    3. The "Parameters" field allows you to enter any program parameters that 
  3111.       may be required by the program you want to run. You can have PM Patrol 
  3112.       prompt you for parameters when the scheduler launches the program by 
  3113.       entering a '?' as the first character in the "Parameters" field. Place 
  3114.       default parameters after the '?' if desired. This will invoke a dialog 
  3115.       box when the program is scheduled to run and allow you to enter new 
  3116.       parameters. 
  3117.  
  3118.    4. The "Working Directory" informs the scheduler what the default drive and 
  3119.       directory are to be when the program gets launched. 
  3120.  
  3121.  The "Resort" button allows you to sort the program list. PM Patrol will 
  3122.  automatically keep the list sorted for you. While your adding programs to the 
  3123.  list in this window, PM Patrol will NOT automatically resort the list while 
  3124.  your're working on it. Therefore, this "Resort" button gives you the option as 
  3125.  to when you want to see it resorted. When you close this window, the list is 
  3126.  automatically resorted for you. 
  3127.  
  3128.  The "Session" group allows you to further control HOW you wish to run the 
  3129.  program: as native OS/2 PM, Windows session, full screen, DOS, and more. 
  3130.  Except for DOS/Windows programs, use "Default" when your're unsure. 
  3131.  
  3132.    1. The "Win Enh" item identifies a Windows 3.1 Enhanced program and will be 
  3133.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  3134.  
  3135.    2. The "Win Std" item identifies a Windows 3.1 Standard program and will be 
  3136.       run as a "seamless" Windows session in "unprotected mode" (same session). 
  3137.  
  3138.  The "Window" group allows you to start the program in a minimized state. Some 
  3139.  programs may resist the minimized state when their invoked. 
  3140.  
  3141.  The "Activate Program" option allows you to indicate that the Scheduled Entry 
  3142.  is "active" or "inactive". The program will only get launched when this is 
  3143.  selected. 
  3144.  
  3145.  The "Priority" group allows you advanced process control over a program's OS/2 
  3146.  priority. This includes both priority "Class" as well as the priority "Range" 
  3147.  within the Class. 
  3148.  
  3149.  Within the "Class" control, you can select 1 of 4 different classes: 
  3150.  
  3151.    1. "Regular" Class identifies a "normal" setting and is the default. This 
  3152.       should typically be used for most programs. If your're unsure of the 
  3153.       Class setting, use "Regular". 
  3154.  
  3155.    2. "Idle" class indicates that a program should only execute when nothing 
  3156.       else is running. Typically used for carefree background processes. 
  3157.  
  3158.    3. "Foreground" class indicates that a program should execute at a 
  3159.       fixed-high priority, but below time critical as if it were the "active" 
  3160.       window. Net effect of this class makes the process operate at near 
  3161.       time-critical performance. 
  3162.  
  3163.    4. "Critical" Class identifies a program as a "Time Critical" process. 
  3164.       Understand that selecting this may cause other programs running to 
  3165.       execute slower. 
  3166.  
  3167.  The "Range" operates within the selected "Class" and you can select 1 of 4 
  3168.  different Range priority levels within each Class. 
  3169.  
  3170.    1. "Regular" Range identifies the "normal" and default priority setting 
  3171.       within the Class selected. This should typically be used for most 
  3172.       programs and is the default. If you are unsure of the Range setting, use 
  3173.       "Regular". 
  3174.  
  3175.    2. "Low" Range identifies the lowest possible priority setting within the 
  3176.       Class selected. Low and Regular have identical effects. This was chosen 
  3177.       by design to avoid confusion as to what was a "normal" Range setting. 
  3178.  
  3179.    3. "Medium" Range indicates a midpoint priority level between the Low and 
  3180.       High Ranges. 
  3181.  
  3182.    4. "High" Range indicates the highest possible priority within the class 
  3183.       selected. 
  3184.  
  3185.  Note:  Use "Regular" for both Class and Range settings when the priority 
  3186.  requirement of the process is unknown; this should be used as the default in 
  3187.  all situations. You should rarely (if ever) set the priority combination to 
  3188.  "Critical" Class and "High" Range settings. Doing so could likely bring OS/2 
  3189.  to its knees for a very CPU bound program. 
  3190.  
  3191.  Note:  Once launched, a program can change its own priority Class and Range 
  3192.  settings. This means that PM Patrol sets the program's "default" priorities 
  3193.  with those that you select, but does not control it after the program has been 
  3194.  launched. A good example of this is running Windows programs. The Win-OS/2 
  3195.  environment will typically change the priority to "Regular" for both Class and 
  3196.  Range. 
  3197.  
  3198.  The "Schedule" group provides you the ability to specify the time the program 
  3199.  is to be launched. All programs are launched in the "background" and NOT the 
  3200.  foreground session. 
  3201.  
  3202.  The time to launch can be specified by selecting the desired Month, Week Day, 
  3203.  Hour, and Minute.  Event time permutations are as follows: 
  3204.  
  3205.    1. Month: provides "Every" month or a specified month (January through 
  3206.       December). 
  3207.  
  3208.    2. Week Day: provides "Every" day, specified day (Sunday through Saturday), 
  3209.       weekdays (Monday through Friday), or weekends (Saturday and Sunday). 
  3210.  
  3211.    3. Hour: provides "Every" hour or a specified hour (12:00 AM through 11:00 
  3212.       PM). 
  3213.  
  3214.    4. Minute: provides "Every" minute or a specified minute (0 through 59). 
  3215.  
  3216.  The "Termination" option allows you specify a scheduled job or program to be 
  3217.  terminated after a specified duration of time (hours and minutes). When hours 
  3218.  and minutes are set to zero, the default, the program will not be terminated 
  3219.  by PM Patrol. Hours specifies the number of hours that must elapse before 
  3220.  termination. You may specify zero, or a value between 1 and 168 (1 week). Mins 
  3221.  specifies the number of minutes that must elapse before termination. You may 
  3222.  specify zero, or a value between 1 and 59.  Termination of a process is done 
  3223.  with extreem prejaduce; the program is "killed" without a graceful shutdown. 
  3224.  For some programs, this is not a problem. A DBug is generated when a process 
  3225.  is started or terminated in PM Patrol. You may use the DBug facility built 
  3226.  into PM Patrol for monitoring and logging Scheduler events. 
  3227.  
  3228.  Note:  Accuracy of when the actual termination occurs can vary by as much as 
  3229.  15 seconds and is directly depandant on the Refresh Settings for Process 
  3230.  Monitors. This varience will never be less than the scheduled termination - 
  3231.  only more. The termination settings can be adjusted after the program has been 
  3232.  launched. Be careful when adjusting the system time while Scheduled programs 
  3233.  are active which have a termination time. Be aware, adjusting the system time 
  3234.  backwards (losing time) will cause the program to terminate sooner. 
  3235.  
  3236.  Note:  The "Prcess Metering" option in PM Patrol (found in General Settings) 
  3237.  MUST be enabled for "Termination" functionality of the Scheduler. If you have 
  3238.  Scheduled programs that have a specified termination, be sure to enable the 
  3239.  Process Metering option. 
  3240.  
  3241.  The "Action" item in the menu allows you to Add, Delete, or Run the 
  3242.  highlighted program in the "Program List". To change an existing program's 
  3243.  properties, simply select the program in the list, then change the desired 
  3244.  fields for the program. Changes are immediate. 
  3245.  
  3246.  Alternately, you can click the right mouse button while the mouse pointer is 
  3247.  positioned over the "Program List" to get a quick access popup menu to the 
  3248.  actions. 
  3249.  
  3250.  
  3251. ΓòÉΓòÉΓòÉ 11.8.6. WorkPlace Classes ΓòÉΓòÉΓòÉ
  3252.  
  3253. The WorkPlace Classes option provides quick access to all registered WorkPlace 
  3254. Shell class objects and provides the ability to register new classes or 
  3255. deregister classes no longer needed. 
  3256.  
  3257. Note:  Typically used by developers, this facility should be used with caution. 
  3258. DO NOT deregister classes without careful consideration. Deleting some classes 
  3259. may render your OS/2 WorkPlace shell inoperable. 
  3260.  
  3261. The "Class Name" represents the object class name as registered and known by 
  3262. the OS/2 WorkPlace Shell. 
  3263.  
  3264. The "Module Name" represents the DLL or SOM library which contains the object 
  3265. methods associated with the class. 
  3266.  
  3267. To deregister a class, simply highlight the class name from the list and select 
  3268. the "Deregister Class" option in the "Action" menu. 
  3269.  
  3270. Likewise, to register a new class to the WorkPlace shell, select "Register 
  3271. Class" from this same menu. Enter the new class name and library module. The 
  3272. Library module must be a fully qualified drive, path, and file name of the DLL. 
  3273.  
  3274.  
  3275. ΓòÉΓòÉΓòÉ 11.8.7. Fast Format ΓòÉΓòÉΓòÉ
  3276.  
  3277. Fast Format performs a very fast format for diskettes (drives A or B) that are 
  3278. ALREADY formatted. This is much faster, and easier, than manually deleting 
  3279. files off a diskette or reformatting. You'll be surprised how often this proves 
  3280. useful.  This option will work on all diskette types (720KB, 1.44MB, and 
  3281. 2.88MB). 
  3282.  
  3283. In order to support all current and future read/writable media types (and 
  3284. extended attributes), PM Patrol employs a Fast Format method that is affected 
  3285. by the number of preexisting files on the disk media. The more files on the 
  3286. disk, the longer it may take to complete the Fast format. The Fast Format 
  3287. operation usually takes several seconds. Since the Fast Format allows 
  3288. concurrent access to the disk while formatting, files or directories that are 
  3289. open will not be removed. 
  3290.  
  3291. Only logical drives A and B are currently supported. 
  3292.  
  3293. Fast Format also allows you to specify a new volume label name. 
  3294.  
  3295.  
  3296. ΓòÉΓòÉΓòÉ 11.9. Command Line Utilities ΓòÉΓòÉΓòÉ
  3297.  
  3298. Packaged with PM Patrol are several OS/2 32-bit Command Line utilities. These 
  3299. utilities complement the PM Patrol personality. 
  3300.  
  3301.  
  3302. ΓòÉΓòÉΓòÉ 11.9.1. FF (Find Files) ΓòÉΓòÉΓòÉ
  3303.  
  3304. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3305. option was selected at PM Patrol installation, then this utility is installed 
  3306. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3307. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3308. of the PATH statement. 
  3309.  
  3310. It provides the same functionality and features as the "Fast Find" facility of 
  3311. PM Patrol. FF enables you to search for files across multiple drives regardless 
  3312. of the number of files. Like the "Fast Find", FF is a turbo charged "find 
  3313. files" utility. 
  3314.  
  3315. The syntax for "FF" is: 
  3316.  
  3317. FF filespec [/R /H /S /A /D /O /E /LN /SN /AD /LA /LW /SK]
  3318.     /R   read only attr
  3319.     /H   hidden attr
  3320.     /S   system attr
  3321.     /A   archive attr
  3322.     /D   directory attr
  3323.     /O   open files
  3324.     /E   erase files
  3325.     /LN  long file names
  3326.     /SN  short file names
  3327.     /AD  all drives
  3328.     /LAn  n days since access
  3329.     /LWn  n days since write
  3330.     /SKn  >= n Kbytes in size
  3331.     ?   help
  3332.  
  3333. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3334. File Pattern is "*" for all files. 
  3335.  
  3336.  
  3337. ΓòÉΓòÉΓòÉ 11.9.2. FDUPS (Find Duplicates) ΓòÉΓòÉΓòÉ
  3338.  
  3339. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3340. option was selected at PM Patrol installation, then this utility is installed 
  3341. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3342. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3343. of the PATH statement. 
  3344.  
  3345. The "FDUPS" utility finds duplicate files by comparing the file name, size 
  3346. and/or last write date.  Between these options, you expect a very high 
  3347. confidence level that 1 or more files are duplicates. 
  3348.  
  3349. The "FDUPS" utility takes several minutes to run depending on the number of 
  3350. files on the disk drive being searched. Select the /i option to make FDUPS run 
  3351. at idle time - when there is little OS/2 activity. 
  3352.  
  3353. The syntax for "FDUPS" is: 
  3354.  
  3355. FDUPS filespec [/S, /D, /A, /I]
  3356.     /S   include size comparison
  3357.     /D   include date comparison
  3358.     /A   search all drives
  3359.     /I   run at idle time
  3360.     ?   help
  3361.  
  3362. "filespec" represents a File Pattern where wild cards are allowed. The default 
  3363. File Pattern is "*" for all files. 
  3364.  
  3365.  
  3366. ΓòÉΓòÉΓòÉ 11.9.3. FDUMP (File Dump) ΓòÉΓòÉΓòÉ
  3367.  
  3368. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3369. option was selected at PM Patrol installation, then this utility is installed 
  3370. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3371. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3372. of the PATH statement. 
  3373.  
  3374. The "FDUMP" utility will dump the contents of any file displaying the ASCII and 
  3375. HEX representation of each byte in the file. 
  3376.  
  3377. This utility provides the ability to specify the format of the output in either 
  3378. a vertical or horizontal fashion. Furthermore, where binary files have specific 
  3379. record lengths, FDUMP allows you to specify this as well. 
  3380.  
  3381. The output from FDUMP is displayed on the screen but can be redirected using 
  3382. the ">outfile" parameter. 
  3383.  
  3384. The syntax for "FDUMP" is: 
  3385.  
  3386. FDUMP filespec [/R=] [/H|/V]
  3387.  
  3388. "filespec" represents a file name to examine. This must be specified. 
  3389.  
  3390. "/R=nn" tells FDUMP to dump the contents of the file using nn record length. 
  3391.  
  3392. "/H" tells FDUMP to dump the contents of the file in horizontal mode. This is 
  3393. the default used by FDUMP. 
  3394.  
  3395. "/V" tells FDUMP to dump the contents of the file in vertical mode. 
  3396.  
  3397.  
  3398. ΓòÉΓòÉΓòÉ 11.9.4. PIDKILL (Kill OS/2 Process) ΓòÉΓòÉΓòÉ
  3399.  
  3400. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3401. option was selected at PM Patrol installation, then this utility is installed 
  3402. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3403. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3404. of the PATH statement. 
  3405.  
  3406. The "PIDKILL" utility allows you to terminate (UNIX-kill 9) a OS/2 program and 
  3407. all its threads. 
  3408.  
  3409. "PIDKILL" takes 1 parameter: the PID to kill. This PID value can be identified 
  3410. by using the PM Patrol Process Monitor window or using the OS/2 "PSTAT" command 
  3411. line utility shipped with OS/2. 
  3412.  
  3413. Note:  A PID that is "blocked" (waiting on another OS/2 resource) may not 
  3414. always be able to be "killed". Repeat attempts may be necessary. 
  3415.  
  3416. The syntax for "PIDKILL" is: 
  3417.  
  3418. PIDKILL pid
  3419.  
  3420. "pid" represents a HEX value as identified in the PM Patrol Monitor window or 
  3421. the OS/2 command line utility "PSTAT". 
  3422.  
  3423. Note:  Recall that the PM Patrol Process Monitor window also allows you to 
  3424. "Kill" PIDs. 
  3425.  
  3426.  
  3427. ΓòÉΓòÉΓòÉ 11.9.5. QMGMT (Queue Management) ΓòÉΓòÉΓòÉ
  3428.  
  3429. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3430. option was selected at PM Patrol installation, then this utility is installed 
  3431. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3432. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3433. of the PATH statement. 
  3434.  
  3435. The "QMGMT" utility allows you to perform various Print Spooler Queue 
  3436. management functions similar to Print Spooler functions available in the PM 
  3437. Patrol program. 
  3438.  
  3439. These functions include purging, releasing, holding, and deleting 1 or more 
  3440. spooler queues. 
  3441.  
  3442. The syntax for "QMGMT" is: 
  3443.  
  3444. QMGMT qname [options]
  3445.  
  3446. "qname" represents the queue to act upon. Enter a queue name or default to ALL 
  3447. queues. 
  3448.  
  3449. "options" represents 1 of the actions to perform on the print queue. By 
  3450. default, QMGMT will report summary information (/I) and status of the queue(s). 
  3451.  
  3452.  
  3453. ΓòÉΓòÉΓòÉ 11.9.6. PMPSDOWN (PM Patrol Shut Down) ΓòÉΓòÉΓòÉ
  3454.  
  3455. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3456. option was selected at PM Patrol installation, then this utility is installed 
  3457. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3458. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3459. of the PATH statement. 
  3460.  
  3461. The "PMPSDown" utility allows you to shut down PM Patrol and optionally specify 
  3462. how long (in seconds) to wait before the shutdown occurs. This utility returns 
  3463. 0 is successful, and 1 if not (ie. PMP was not active at the time). 
  3464.  
  3465. If no delay is specified, PM Patrol will be shutdown immediately. 
  3466.  
  3467. The syntax for "PMPSDown" is: 
  3468.  
  3469. PMPSDown [seconds]
  3470.  
  3471.  
  3472. ΓòÉΓòÉΓòÉ 11.9.7. MSGBOX (Message Box Popup) ΓòÉΓòÉΓòÉ
  3473.  
  3474. This utility is accessed from the OS/2 command prompt window. If the "Bonus" 
  3475. option was selected at PM Patrol installation, then this utility is installed 
  3476. into the PMP subdirectory. To allow this utility to be invoked regardless of 
  3477. the current working directory, alter the CONFIG.SYS file and add PMP to the end 
  3478. of the PATH statement. 
  3479.  
  3480. The "MsgBox" utility allows you to popup of message box with text and buttons 
  3481. of your choice. Ideal for the PM Patrol Scheduler. 
  3482.  
  3483. The syntax for "MsgBox" is: 
  3484.  
  3485. MsgBox text [/A /Tt /Dn /Bn]
  3486.  
  3487.  text  Any text of your choice (up to 1K in length)
  3488.  /A   Sound alarm
  3489.  /Tt  Title where t=text
  3490.  /Dn  Timeout delay (milliseconds)
  3491.  /Bn  Button types, where n=
  3492.      1=Ok        6=Retry,Cancel
  3493.      2=Ok,Cancel     7=Abort,Retry,Ignore
  3494.      3=Cancel      8=Yes,No
  3495.      4=Enter       9=Yes,No,Cancel
  3496.      5=Enter,Cancel
  3497.  
  3498.  Return Codes:
  3499.      1=OK selected    5=Ignore selected
  3500.      2=Cancel selected  6=Yes selected
  3501.      3=Abort selected  7=No selected
  3502.      4=Retry selected  9=Enter selected
  3503.  
  3504.  
  3505. ΓòÉΓòÉΓòÉ 12. Data Collection Facility ΓòÉΓòÉΓòÉ
  3506.  
  3507. This section discusses the Data Collection Facility (DCF) of PM Patrol. 
  3508.  
  3509.  
  3510. ΓòÉΓòÉΓòÉ 12.1. DCF Definition ΓòÉΓòÉΓòÉ
  3511.  
  3512. The Data Collection Facility (DCF) of PM Patrol is a high performance data 
  3513. acquisition and statistics collecting engine. This engine is one of the 
  3514. by-products of PM Patrol and used by PM Patrol itself. 
  3515.  
  3516. Available to PM Patrol users is a simple API set allowing the C/C++ programmer 
  3517. access to this statistical data. 
  3518.  
  3519. The engine is ALWAYS gathering statistics regardless of what monitor items have 
  3520. been selected for the PM Patrol Status Line display window. These include all 
  3521. monitor items possible in PM Patrol along with others that are not monitorable 
  3522. by the PM Patrol Status Line. 
  3523.  
  3524. The DCF engine causes no extra overhead as it is a integral component of PM 
  3525. Patrol. API interface calls to the DCF engine are extremely fast. Memory to 
  3526. hold the statistics is always resident because PM Patrol is constantly updating 
  3527. it. 
  3528.  
  3529.  
  3530. ΓòÉΓòÉΓòÉ 12.2. DCF Programming Files ΓòÉΓòÉΓòÉ
  3531.  
  3532. The PM Patrol software contains 3 files for DCF programming purposes: 
  3533.  
  3534.    1. PMPAPI.H is a C/C++ header containing all constants, definitions, 
  3535.       structures, and the like. "Include" this header file in your C/C++ 
  3536.       programs. 
  3537.  
  3538.    2. PMPAPI.LIB is the Import Library to link with to resolve DCF APIs. You 
  3539.       must link (LINK386) with this Import Library to resolve external 
  3540.       references and is specified in the LINK386 options. 
  3541.  
  3542.    3. PMPAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3543.       APIs 
  3544.  
  3545.  For compiling and linking, append the installation path used for PM Patrol to 
  3546.  the following statements in your CONFIG.SYS file: 
  3547.  
  3548.    1. "LIB" statement for the API import library (PMPAPI.LIB). 
  3549.  
  3550.    2. "INCLUDE" statement for the API C/C++ header (PMPAPI.H). 
  3551.  
  3552.  Make sure the PM Patrol DLL is available at run time by appending the 
  3553.  installation path used for PM Patrol to the following statements in your 
  3554.  CONFIG.SYS file: 
  3555.  
  3556.    1. "LIBPATH" statement for the API DLL (PMPAPI.DLL). 
  3557.  
  3558.  
  3559. ΓòÉΓòÉΓòÉ 12.3. DCF API Set ΓòÉΓòÉΓòÉ
  3560.  
  3561. This section describes in detail the API set for interfacing with PM Patrol 
  3562. Data Collection Facility. 
  3563.  
  3564.  
  3565. ΓòÉΓòÉΓòÉ 12.3.1. DCFGetStats() API ΓòÉΓòÉΓòÉ
  3566.  
  3567. This API provides the ability to retrieve the PM Patrol real-time statistics. 
  3568. These statistics are maintained in a shared memory segment and retrieval with 
  3569. DCFGetStats() is therefore VERY fast. However, it is highly recommended that 
  3570. this API be called no more frequently that once per second. Since PM Patrol 
  3571. updates this structure at most once per second, calling this API more 
  3572. frequently than PM Patrol updates it would be useless and waste CPU. 
  3573.  
  3574. Prototype: APIRC DCFGetStats (PDCFSTATS pDCFStats)
  3575.  
  3576. Parms:   PDCFSTATS      ... Address of DCFSTATS structure
  3577.  
  3578. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3579.       DCF_PARM_ERROR   ... Invalid parm specified
  3580.       DCF_INACTIVE_ERROR ... DCF not active
  3581.  
  3582. Notes:   Statistics are updated at frequencies defined in the PM Patrol
  3583.       "Refresh Settings" dialog under "Settings" options.
  3584.       Refer to PMPAPI.H for statistical items collected by DCF.
  3585.  
  3586. Example:  Query current statistics and display drives on-line
  3587. _________________________________________________________________________
  3588. #include <stdio.h>
  3589. #include <stdlib.h>
  3590. #include <pmpapi.h>
  3591.  
  3592. INT main(INT argc, CHAR **argv)
  3593. {
  3594.  APIRC    rc;      /* API return code          */
  3595.  PDCFSTATS  pDCFStats;  /* pointer to DCF statistics buffer */
  3596.  
  3597.  /* allocate memory for statistics buffer */
  3598.  pDCFStats=(PDCFSTATS) malloc(sizeof(DCFSTATS));
  3599.  
  3600.  /* retrieve current statistics */
  3601.  rc=DCFGetStats(pDCFStats);
  3602.  if (rc==DCF_NO_ERROR)
  3603.   printf("Drives On-line: %s\n", pDCFStats->drivesOnLine);
  3604.  else
  3605.   printf("PM Patrol DCF not active right now.\n");
  3606.  
  3607.  /* exit program with return code */
  3608.  return rc;
  3609. }
  3610.  
  3611.  
  3612. ΓòÉΓòÉΓòÉ 12.3.2. DCFUserDefined() API ΓòÉΓòÉΓòÉ
  3613.  
  3614. This API provides the ability to post a user defined monitor to PM Patrol for 
  3615. display on the Status Line. It is highly recommended that this API call be 
  3616. issued no frequently that once per second. The maximum length of the buffer is 
  3617. 20 bytes. PM Patrol will force this if the length exceeds this limit. 
  3618.  
  3619. Prototype: APIRC DCFUSerDefined (PCHAR buffer)
  3620.  
  3621. Parms:   PCHAR        ... Address of user defined monitor buffer
  3622.  
  3623. Returns:  DCF_NO_ERROR    ... Successful with no errors
  3624.       DCF_PARM_ERROR   ... Invalid parm specified
  3625.       DCF_INACTIVE_ERROR ... DCF not active
  3626.  
  3627. Example:  Tell PM Patrol to display your name on the Status Line
  3628. _________________________________________________________________________
  3629. #include <stdio.h>
  3630. #include <stdlib.h>
  3631. #include <pmpapi.h>
  3632.  
  3633. INT main(INT argc, CHAR **argv)
  3634. {
  3635.  APIRC  rc;  /* API return code  */
  3636.  
  3637.  /* post monitor buffer to PM Patrol */
  3638.  rc=DCFUserDefined("My name is Dave");
  3639.  if (rc==DCF_NO_ERROR)
  3640.   printf("PMP will show my name on the Status Line\n");
  3641.  else
  3642.   printf("PM Patrol DCF not active right now.\n");
  3643.  
  3644.  /* exit program with return code */
  3645.  return rc;
  3646. }
  3647.  
  3648.  
  3649. ΓòÉΓòÉΓòÉ 12.3.3. DCFVerify() API ΓòÉΓòÉΓòÉ
  3650.  
  3651. This API provides the ability to verify the active state of PM Patrol's Data 
  3652. Collection Facility. 
  3653.  
  3654. Prototype: BOOL DCFVerify (void)
  3655.  
  3656. Parms:   None
  3657.  
  3658. Returns:  TRUE  ... DCF active
  3659.       FALSE ... DCF not active
  3660.  
  3661. Example:  Print status of the DCF
  3662. _________________________________________________________________________
  3663. #include <stdio.h>
  3664. #include <stdlib.h>
  3665. #include <pmpapi.h>
  3666.  
  3667. INT main(INT argc, CHAR **argv)
  3668. {
  3669.  BOOL  activeInd;    /* active indicator */
  3670.  
  3671.  /* verify state */
  3672.  activeInd=DCFVerify();
  3673.  if (activeInd==TRUE)
  3674.   printf("PM Patrol DCF is active\n");
  3675.  else
  3676.   printf("PM Patrol DCF is not active\n");
  3677.  
  3678.  /* exit program with active status */
  3679.  return (INT) activeInd;
  3680. }
  3681.  
  3682.  
  3683. ΓòÉΓòÉΓòÉ 12.3.4. PMPShutDown() API ΓòÉΓòÉΓòÉ
  3684.  
  3685. This API will completely shutdown PM Patrol and the Data Collection Facility. 
  3686.  
  3687. Prototype: BOOL PMPShutDown (void)
  3688.  
  3689. Parms:   None
  3690.  
  3691. Returns:  TRUE  ... Successful with no errors
  3692.       FALSE ... PM Patrol not active
  3693.  
  3694. Example:  Shutdown PM Patrol
  3695. _________________________________________________________________________
  3696. #include <stdio.h>
  3697. #include <stdlib.h>
  3698. #include <pmpapi.h>
  3699.  
  3700. INT main(INT argc, CHAR **argv)
  3701. {
  3702.  BOOL  shutdownInd;
  3703.  
  3704.  /* shutdown and print message */
  3705.  shutdownInd=PMPShutDown();
  3706.  if (shutdownInd==TRUE)
  3707.   printf("PM Patrol and DCF now shutdown.\n");
  3708.  else
  3709.   printf("PM Patrol not active.\n");
  3710.  
  3711.  /* exit program with shutdown status */
  3712.  return (INT) shutdownInd;
  3713. }
  3714.  
  3715.  
  3716. ΓòÉΓòÉΓòÉ 13. Debug Facility ΓòÉΓòÉΓòÉ
  3717.  
  3718. This section discusses the Debug Facility integrated with PM Patrol. 
  3719.  
  3720.  
  3721. ΓòÉΓòÉΓòÉ 13.1. DBug Definition ΓòÉΓòÉΓòÉ
  3722.  
  3723. DBug is a flexible and easy to use real-time debugging for the software 
  3724. engineer/developer that provides debugging capabilities that are impossible for 
  3725. the source-level debugger, easier to use, and often more convenient. 
  3726.  
  3727. The concept of DBug is simple. You place 1 or more "DBUG" statements in your 
  3728. program source code at a strategic point for the purpose of displaying a 
  3729. message, the content of variables or memory, or time stamping a point of entry. 
  3730. Compile and run your program(s). While or after running your program(s), you 
  3731. can view the current results via the "DBug" window or view the DBug log file to 
  3732. browse your DBug results. 
  3733.  
  3734.  
  3735. ΓòÉΓòÉΓòÉ 13.2. Using DBug ΓòÉΓòÉΓòÉ
  3736.  
  3737. When you compile your programs you include the C/C++ header file "dbug.h" and 
  3738. specify the compiler directive "-DDEBUG". You must link your program with the 
  3739. DBug Import Library "DBUGAPI.LIB" to resolve externs. 
  3740.  
  3741. Once you're done testing and want to remove the DBUG statements for 
  3742. "production" use, you may: 
  3743.  
  3744.    1. Recompile your program(s) WITHOUT specifying the compiler directive 
  3745.       "-DDEBUG". The compiler will ignore the DBUG statements. Linking with 
  3746.       "DBUGAPI.LIB" is now unnecessary. 
  3747.  
  3748.    2. Manually remove each DBUG statement. Recompile and link. 
  3749.  
  3750.       Our recommendation is that you leave the "dbug.h" include file in the 
  3751.       program(s) and choose option 1 above. This allows you to, with just a 
  3752.       recompile, have your run-time debugging enabled quickly for testing. 
  3753.  
  3754.  DBUG statements are C/C++ macros which map to a single API. There is a 
  3755.  "generic" DBUG macro for any use, and specific macros for each unique standard 
  3756.  C data type: 
  3757.  
  3758.    1. The DBUG macro is generic and allows you to display the contents from any 
  3759.       data type as well as any chunk of memory. 
  3760.  
  3761.    2. The DBUGM macro displays a simple message of your choice. 
  3762.  
  3763.    3. The DBUGS macro displays the contents of a SHORT data type. 
  3764.  
  3765.    4. The DBUGL macro displays the contents of a LONG data type. 
  3766.  
  3767.    5. The DBUGI macro displays the contents of a INTEGER data type. 
  3768.  
  3769.    6. The DBUGD macro displays the contents of a DOUBLE data type. 
  3770.  
  3771.    7. The DBUGC macro displays the contents of a CHAR data type. 
  3772.  
  3773.    8. The DBUGZ macro displays the contents of a STRING data type. 
  3774.  
  3775.    9. The DBUGP macro displays the contents of a POINTER data type. 
  3776.  
  3777.   10. The DBUGOPEN macro opens a new DBug log file. 
  3778.  
  3779.   11. The DBUGCLOSE macro closes the DBug log file. 
  3780.  
  3781.   12. The DBUGSTOP macro terminates the DBug facility. 
  3782.  
  3783.  Each DBUG statement will cause an IPC message to be build and sent to the 
  3784.  central DBug program. The DBug program will then display the message in his 
  3785.  standard format and log it for later recall - if logging is turned on. 
  3786.  
  3787.  If the DBug program is not presently running to receive these requests, your 
  3788.  DBUG statements will be ignored at run-time. The effort required to complete a 
  3789.  single DBUG within your program(s) is very minimal and insignificant. 
  3790.  
  3791.  The DBug program can be started and stopped at any time - even when programs 
  3792.  are actively DBUGing. If restarted, DBug will continue pulling DBUGs from his 
  3793.  queue and displaying/logging them. 
  3794.  
  3795.  DBug will handle bursts of DBUGs easily as it offers a 256K maximum buffer. 
  3796.  DBug will only allocate/commit enough memory to hold each DBUG request - not 
  3797.  the whole 256K. The 256K buffer is therefore used optimally and requires 
  3798.  little real memory from OS/2. 
  3799.  
  3800.  When monitoring DBug, minimize the window if large amounts of DBUGs are be 
  3801.  displayed. This will significantly improve how fast DBug displays and reduce 
  3802.  the overhead of displaying results. 
  3803.  
  3804.  DBug has two log files and are created in the drive/directory where DBug was 
  3805.  started. If started and controlled from PM Patrol, these log files will reside 
  3806.  in the directory from where PM Patrol was installed and started. 
  3807.  
  3808.    1. The primary and active log "DBUG.LOG" contains current data. 
  3809.  
  3810.    2. The backup log "DBUG.BAK" contains the previous primary data after a new 
  3811.       log file is opened. 
  3812.  
  3813.       When logging is opened, a DBUG message is placed at the beginning of the 
  3814.       DBug log file. 
  3815.  
  3816.       Note:  DBug log files are automatically recycled at midnight so that 
  3817.       under continuous operation, each log will contain a full 24 hours of 
  3818.       information. Therefore, up to 2 days (primary and backup) of DBug 
  3819.       information can be reviewed any time. 
  3820.  
  3821.  If Dbug has nothing to do, absolutely no CPU is used. The small amount of DBug 
  3822.  memory requirements are "swappable" to make room for more active demanding 
  3823.  programs. 
  3824.  
  3825.  DBug is a high performance debugging tool for even the most intense 
  3826.  environments. When the Dbug window is minimized or DBug is running in "Quiet" 
  3827.  mode, DBug can handle several hundred DBUGs per second, even more for highend 
  3828.  Pentium or PowerPC processors. 
  3829.  
  3830.  
  3831. ΓòÉΓòÉΓòÉ 13.3. DBug Programming Files ΓòÉΓòÉΓòÉ
  3832.  
  3833. The DBug software contains 3 files for DBug programming purposes: 
  3834.  
  3835.    1. DBUG.H is a C/C++ header containing the macros for DBug. "Include" this 
  3836.       header file in your C/C++ programs. 
  3837.  
  3838.    2. DBUGAPI.LIB is the Import Library to link with to resolve DBUG APIs. You 
  3839.       must link (LINK386) with this Import Library to resolve external 
  3840.       references and is specified in the LINK386 options. 
  3841.  
  3842.    3. DBUGAPI.DLL is the Dynamic Link Library which holds the actual code of 
  3843.       APIs 
  3844.  
  3845.  For compiling and linking, append the installation path used for PM Patrol to 
  3846.  the following statements in your CONFIG.SYS file: 
  3847.  
  3848.    1. "LIB" statement for the API import library (DBUGAPI.LIB). 
  3849.  
  3850.    2. "INCLUDE" statement for the API C/C++ header (DBUG.H). 
  3851.  
  3852.  Make sure the DBug DLL is available at run time by appending the installation 
  3853.  path used for PM Patrol to the following statements in your CONFIG.SYS file: 
  3854.  
  3855.    1. "LIBPATH" statement for the API DLL (DBUGAPI.DLL). 
  3856.  
  3857.  
  3858. ΓòÉΓòÉΓòÉ 13.4. DBug Macro Set ΓòÉΓòÉΓòÉ
  3859.  
  3860. This section describes in detail the C/C++ macro set for using the Debug 
  3861. Facility. 
  3862.  
  3863.  
  3864. ΓòÉΓòÉΓòÉ 13.4.1. DBUG() Macro ΓòÉΓòÉΓòÉ
  3865.  
  3866. The DBUG macro is generic and allows you to display the contents from any data 
  3867. type as well as any chunk of memory. 
  3868.  
  3869. Prototype: ULONG  DBUG (PVOID address, USHORT size, PCHAR note)
  3870.  
  3871. Parms:   address       ... Address to displayed/dumped
  3872.       size        ... Size of data type or memory to be display
  3873.       note        ... A personal description of your choice
  3874.  
  3875. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3876.  
  3877. Example:
  3878. _________________________________________________________________________
  3879. #include <stdio.h>
  3880. #include <stdlib.h>
  3881. #include <dbug.h>
  3882.  ...
  3883.  
  3884.  CHAR  array[60];
  3885.  
  3886.  DBUG(array, sizeof(array), "my array");
  3887.  
  3888.  
  3889. ΓòÉΓòÉΓòÉ 13.4.2. DBUGM() Macro ΓòÉΓòÉΓòÉ
  3890.  
  3891. The DBUGM macro displays a simple message of your choice. 
  3892.  
  3893. Prototype: ULONG  DBUGM(PCHAR message)
  3894.  
  3895. Parms:   message       ... A personal description of your choice
  3896.  
  3897. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3898.  
  3899. Example:
  3900. _________________________________________________________________________
  3901. #include <stdio.h>
  3902. #include <stdlib.h>
  3903. #include <dbug.h>
  3904.  ...
  3905.  
  3906.  DBUGM("Point 1 of program");
  3907.  
  3908.  
  3909. ΓòÉΓòÉΓòÉ 13.4.3. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3910.  
  3911. The DBUGS macro displays the contents of a SHORT data type. 
  3912.  
  3913. Prototype: ULONG  DBUGS(PSHORT address, PCHAR note)
  3914.  
  3915. Parms:   address       ... Address of short to be displayed
  3916.       note        ... A personal description of your choice
  3917.  
  3918. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3919.  
  3920. Example:
  3921. _________________________________________________________________________
  3922. #include <stdio.h>
  3923. #include <stdlib.h>
  3924. #include <dbug.h>
  3925.  ...
  3926.  
  3927.  USHORT  variable;
  3928.  
  3929.  DBUGS(&variable, "my variable");
  3930.  
  3931.  
  3932. ΓòÉΓòÉΓòÉ 13.4.4. DBUGS() Macro ΓòÉΓòÉΓòÉ
  3933.  
  3934. The DBUGL macro displays the contents of a LONG data type. 
  3935.  
  3936. Prototype: ULONG  DBUGL(PLONG address, PCHAR note)
  3937.  
  3938. Parms:   address       ... Address of long to be displayed
  3939.       note        ... A personal description of your choice
  3940.  
  3941. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3942.  
  3943. Example:
  3944. _________________________________________________________________________
  3945. #include <stdio.h>
  3946. #include <stdlib.h>
  3947. #include <dbug.h>
  3948.  ...
  3949.  
  3950.  LONG  variable;
  3951.  
  3952.  DBUGL(&variable, "my variable");
  3953.  
  3954.  
  3955. ΓòÉΓòÉΓòÉ 13.4.5. DBUGI() Macro ΓòÉΓòÉΓòÉ
  3956.  
  3957. The DBUGI macro displays the contents of a INTEGER data type. 
  3958.  
  3959. Prototype: ULONG  DBUGI(PINT address, PCHAR note)
  3960.  
  3961. Parms:   address       ... Address of integer to be displayed
  3962.       note        ... A personal description of your choice
  3963.  
  3964. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3965.  
  3966. Example:
  3967. _________________________________________________________________________
  3968. #include <stdio.h>
  3969. #include <stdlib.h>
  3970. #include <dbug.h>
  3971.  ...
  3972.  
  3973.  INT   variable;
  3974.  
  3975.  DBUGI(&variable, "my variable");
  3976.  
  3977.  
  3978. ΓòÉΓòÉΓòÉ 13.4.6. DBUGD() Macro ΓòÉΓòÉΓòÉ
  3979.  
  3980. The DBUGD macro displays the contents of a DOUBLE data type. 
  3981.  
  3982. Prototype: ULONG  DBUGD(PDOUBLE address, PCHAR note)
  3983.  
  3984. Parms:   address       ... Address of double to be displayed
  3985.       note        ... A personal description of your choice
  3986.  
  3987. Returns:  NO_ERROR      ... Successful with no errors, or error code
  3988.  
  3989. Example:
  3990. _________________________________________________________________________
  3991. #include <stdio.h>
  3992. #include <stdlib.h>
  3993. #include <dbug.h>
  3994.  ...
  3995.  
  3996.  DOUBLE  variable;
  3997.  
  3998.  DBUGD(&variable, "my variable");
  3999.  
  4000.  
  4001. ΓòÉΓòÉΓòÉ 13.4.7. DBUGC() Macro ΓòÉΓòÉΓòÉ
  4002.  
  4003. The DBUGC macro displays the contents of a CHAR data type. 
  4004.  
  4005. Prototype: ULONG  DBUGC(PINT address, PCHAR note)
  4006.  
  4007. Parms:   address       ... Address of char to be displayed
  4008.       note        ... A personal description of your choice
  4009.  
  4010. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4011.  
  4012. Example:
  4013. _________________________________________________________________________
  4014. #include <stdio.h>
  4015. #include <stdlib.h>
  4016. #include <dbug.h>
  4017.  ...
  4018.  
  4019.  CHAR   variable;
  4020.  
  4021.  DBUGC(&variable, "my variable");
  4022.  
  4023.  
  4024. ΓòÉΓòÉΓòÉ 13.4.8. DBUGP() Macro ΓòÉΓòÉΓòÉ
  4025.  
  4026. The DBUGP macro displays the contents of a POINTER data type. 
  4027.  
  4028. Prototype: ULONG  DBUGP(PVOID address, PCHAR note)
  4029.  
  4030. Parms:   address       ... Address of pointer to be displayed
  4031.       note        ... A personal description of your choice
  4032.  
  4033. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4034.  
  4035. Example:
  4036. _________________________________________________________________________
  4037. #include <stdio.h>
  4038. #include <stdlib.h>
  4039. #include <dbug.h>
  4040.  ...
  4041.  
  4042.  PVOID  variable;
  4043.  
  4044.  /* display pointer value */
  4045.  DBUGP(&variable, "my variable");
  4046.  
  4047.  /* display memory contents of size 2048 bytes */
  4048.  DBUG(variable, 2048, "my variable memory");
  4049.  
  4050.  
  4051. ΓòÉΓòÉΓòÉ 13.4.9. DBUGZ() Macro ΓòÉΓòÉΓòÉ
  4052.  
  4053. The DBUGZ macro displays the contents of a STRING data type. 
  4054.  
  4055. Prototype: ULONG  DBUGZ(PVOID address, PCHAR note)
  4056.  
  4057. Parms:   address       ... Address of string to be displayed
  4058.       note        ... A personal description of your choice
  4059.  
  4060. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4061.  
  4062. Example:
  4063. _________________________________________________________________________
  4064. #include <stdio.h>
  4065. #include <stdlib.h>
  4066. #include <dbug.h>
  4067.  ...
  4068.  
  4069.  CHAR  variable[32]="Hello world";
  4070.  
  4071.  DBUGZ(variable, "my variable");
  4072.  
  4073.  
  4074. ΓòÉΓòÉΓòÉ 13.4.10. DBUGOPEN() Macro ΓòÉΓòÉΓòÉ
  4075.  
  4076. The DBUGOPEN macro opens a new DBug log file. 
  4077.  
  4078. Prototype: ULONG  DBUGOPEN(VOID)
  4079.  
  4080. Parms:   None
  4081.  
  4082. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4083.  
  4084. Example:
  4085. _________________________________________________________________________
  4086. #include <stdio.h>
  4087. #include <stdlib.h>
  4088. #include <dbug.h>
  4089.  ...
  4090.  
  4091.  DBUGOPEN();
  4092.  
  4093.  
  4094. ΓòÉΓòÉΓòÉ 13.4.11. DBUGCLOSE() Macro ΓòÉΓòÉΓòÉ
  4095.  
  4096. The DBUGCLOSE macro closes the DBug log file. 
  4097.  
  4098. Prototype: ULONG  DBUGCLOSE(VOID)
  4099.  
  4100. Parms:   None
  4101.  
  4102. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4103.  
  4104. Example:
  4105. _________________________________________________________________________
  4106. #include <stdio.h>
  4107. #include <stdlib.h>
  4108. #include <dbug.h>
  4109.  ...
  4110.  
  4111.  DBUGCLOSE();
  4112.  
  4113.  
  4114. ΓòÉΓòÉΓòÉ 13.4.12. DBUGSTOP() Macro ΓòÉΓòÉΓòÉ
  4115.  
  4116. The DBUGSTOP macro terminates the DBug Facility. 
  4117.  
  4118. Prototype: ULONG  DBUGSTOP(VOID)
  4119.  
  4120. Parms:   None
  4121.  
  4122. Returns:  NO_ERROR      ... Successful with no errors, or error code
  4123.  
  4124. Example:
  4125. _________________________________________________________________________
  4126. #include <stdio.h>
  4127. #include <stdlib.h>
  4128. #include <dbug.h>
  4129.  ...
  4130.  
  4131.  DBUGSTOP();
  4132.  
  4133.  
  4134. ΓòÉΓòÉΓòÉ 13.5. DBug Output ΓòÉΓòÉΓòÉ
  4135.  
  4136. The following is a sample output from the DBug Facility. 
  4137.  
  4138.  
  4139. Sample output
  4140. ------------------------------------------------------------------------
  4141. From: PID 00a3  At 21:06:42  DBUG.CPP (line 474)
  4142. Note: DBug log opened.
  4143. Type: INFO, 0 bytes  (0 qCnt)
  4144. ------------------------------------------------------------------------
  4145. From: PID 00a8  At 21:07:10  TEST.C (line 22)
  4146. Note: sample DBUGs
  4147. Type: INFO, 0 bytes  (3 qCnt)
  4148. ------------------------------------------------------------------------
  4149. From: PID 00a8  At 21:07:10  TEST.C (line 23)
  4150. Note: my return code (little endian)
  4151. Type: LONG, 4 bytes  (2 qCnt)
  4152. 0000: 00 00 00 00                   |....       |
  4153. ------------------------------------------------------------------------
  4154. From: PID 00a8  At 21:07:10  TEST.C (line 24)
  4155. Note: a chunk of memory
  4156. Type: VOID, 120 bytes  (1 qCnt)
  4157. 0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4158. 0010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4159. 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4160. 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4161. 0040: 00 00 00 00 00 00 00 00 00 00 43 44 45 46 00 00 |..........CDEF..|
  4162. 0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  4163. 0060: 00 00 00 00 00 43 00 00 00 00 00 00 00 00 60 c6 |.....C........`.|
  4164. 0070: a2 41 00 00 00 00 10 59             |.A.....Y     |
  4165. ------------------------------------------------------------------------
  4166. From: PID 00a8  At 21:07:10  TEST.C (line 25)
  4167. Note: my double value
  4168. Type: DOUBLE, 8 bytes  (0 qCnt)
  4169. 0000: 33 33 33 33 b3 00 ab 40             |3333...@     |
  4170. ------------------------------------------------------------------------
  4171.  
  4172. Using the last DBUG for example, the DBug output contains four (4) main 
  4173. sections: 
  4174.  
  4175.    1. The From section identifies who (what program) the DBUG was sent from: 
  4176.  
  4177.         a. The Process ID (as hex) 
  4178.  
  4179.         b. The time the DBug was issued (not received and displayed/logged). 
  4180.  
  4181.         c. The program source code name and line number of the DBUG statement 
  4182.            within the program source. 
  4183.  
  4184.    2. The Note section is where your personal note/description from the DBUG 
  4185.       statement is displayed. 
  4186.  
  4187.    3. The Type section identifies the data type displayed, the number of bytes 
  4188.       for the data, and how many DBUG statements remain in the DBug queue to be 
  4189.       displayed (qCnt): 
  4190.  
  4191.         a. These include all standard data types such as DOUBLE, CHAR, PCHAR, 
  4192.            INT, and so on. 
  4193.  
  4194.         b. VOID is displayed when a "memory chunk" is displayed. 
  4195.  
  4196.         c. INFO is displayed when just a DBUGM (Message) statement is issued. 
  4197.  
  4198.    4. The last section displays the contents (in hex and ASCII representation) 
  4199.       of the data type. The left most column of this section is the offset 
  4200.       starting at zero. 
  4201.  
  4202.  
  4203. ΓòÉΓòÉΓòÉ 14. Performance and Tuning ΓòÉΓòÉΓòÉ
  4204.  
  4205. This document makes an assumption that the reader is familiar with OS/2 Warp. 
  4206. It presents general and specific tuning information for a computer that will 
  4207. have or has had OS/2 Warp installed. 
  4208.  
  4209.  
  4210. ΓòÉΓòÉΓòÉ 14.1. General Setup Considerations ΓòÉΓòÉΓòÉ
  4211.  
  4212. There are some basic considerations that need to be made about the computer 
  4213. that you will install Warp on. It breaks down into 3 elements: processor, 
  4214. memory and disk. These three major elements, interestingly enough, have 
  4215. remained the three major elements since the computer was first developed. 
  4216.  
  4217. In most cases the processor that you have in your system has a minimal impact 
  4218. on performance compared to the amount of memory and the speed of the disk. The 
  4219. only real considerations to make with respect to processor are its age. 
  4220.  
  4221. You want to avoid 386 and 386SX processors. You want processors that can be 
  4222. upgraded and those that support instruction caching sometimes referred to as 
  4223. Level 1 or Level 2 cache. 
  4224.  
  4225. There really is no optimum level instruction cache size. More instruction cache 
  4226. is usually better than less. The only real determinant should be costs. 
  4227.  
  4228. Memory, also called RAM, is a different story. Without enough memory your 
  4229. system will run slowly.  If you cannot afford to buy memory for your system, 
  4230. then you must manage the things you install. 
  4231.  
  4232. You only want to install fonts, device drivers, objects and applications that 
  4233. you will actually use. You may think that just because you have not started an 
  4234. installed application, it is not using any memory. This is not always the case. 
  4235. Many newer OS/2 applications will register classes and objects with the 
  4236. WorkPlace Shell or add items into path statements, set statements and the like. 
  4237. Many of these things will cause memory to be used even when the program is not 
  4238. running. 
  4239.  
  4240. In some cases, the program will require special device drivers be installed 
  4241. which also use up memory. 
  4242.  
  4243. Other things that affect memory usage are disk cache, CDROM cache, multimedia 
  4244. support and file buffers. The important factor to consider for the disk cache, 
  4245. is that it is designed for general use. 
  4246.  
  4247. Since most systems are not general use, the disk cache should be tuned to the 
  4248. specific system environment to optimize memory usage. We will discuss the disk 
  4249. cache considerations in more detail when we look at the file system options. 
  4250.  
  4251. In addition to RAM and the CPU, one of the most important pieces of hardware on 
  4252. your system is the hard disk. It will affect the performance of starting your 
  4253. system, loading applications, the speed of applications, and the general 
  4254. performance of your system. 
  4255.  
  4256. It is best to have a disk subsystem which uses a bus-mastering type of adapter. 
  4257. Many SCSI devices and some of the PCI devices have this capability. These types 
  4258. of devices allow for multiple requests to be sent to the disk device to be 
  4259. processed rather than just one command or function at a time. They also allow 
  4260. what is called scatter/gather capabilities. 
  4261.  
  4262. Without bus mastering, data that is transferred between the computer's memory 
  4263. and the disk must be in contiguous memory, one byte after the other. With bus 
  4264. mastering, the data does not have to be contiguous and does not have to be on a 
  4265. 64K byte boundary. Bus-mastering relieves the system of a lot of overhead and 
  4266. therefore performs faster in actual usage, although  you will see little or no 
  4267. difference when running benchmarks. 
  4268.  
  4269. When the memory in your system is overcommitted, that is, the operating system 
  4270. and the applications you are running need more memory than is physically 
  4271. available in your computer, Warp will page, or swap, code and data that has not 
  4272. been accessed for a while to the disk in order to make room for the needed code 
  4273. and data. In this instance, the disk is the single most important factor in 
  4274. your system with respect to performance. 
  4275.  
  4276. Other considerations with regard to the disk is whether or not it has its own 
  4277. caching. If it does and your applications perform mainly sequential disk 
  4278. access, then you can reduce the size of your software disk cache. However, this 
  4279. is subject to the amount of cache installed on the controller. Usually, 256 KB 
  4280. cache is a minimum necessary setting for disk cache. 
  4281.  
  4282. Hardware disk cache will have little or no effect when the programs perform 
  4283. random disk operations. The hardware cache will improve the performance of 
  4284. starting the Warp operating system and the applications. 
  4285.  
  4286. Run a normal load of programs on your machine and then check 
  4287. C:\OS2\SYSTEM\SWAPPER.DAT. Divide its size by 1024 and use that to determine 
  4288. how much space to pre-allocate for your swappath. For example, if your system 
  4289. normally has a 14 MB SWAPPER.DAT, change your swappath line in CONFIG.SYS to 
  4290. like "SWAPPATH=C:\OS2\SYSTEM 2048 14680". 
  4291.  
  4292. If you're running a video driver at a very high color and resolution (65K or 
  4293. 16.6 Million colors) that can severely impact system performance. Try running 
  4294. at 256 colors and see if it works any better. 
  4295.  
  4296. Don't run more than one CPU resource monitor at a time. 
  4297.  
  4298. If you're running a 4 MB system, expect a lot of swapping. More memory will 
  4299. always improve performance. 
  4300.  
  4301. Printing can be CPU intensive. Using the OS/2 spooler and adjusting the spooler 
  4302. priority, you can fine tune the printing overhead so that it has the least 
  4303. negative impact on system performance while keeping the printer(s) busy. A 
  4304. priority setting above 50% may be too aggressive for some slower low-end 
  4305. systems. 
  4306.  
  4307. Keep in mind, the OS/2 spooler requires memory as well (about 512 KB) and will 
  4308. reduce available memory accordingly. If your system has 8 MB of memory and you 
  4309. print infrequently, consider turning off the OS/2 spooler. 
  4310.  
  4311.  
  4312. ΓòÉΓòÉΓòÉ 14.2. File System Performance ΓòÉΓòÉΓòÉ
  4313.  
  4314. OS/2 supports two file systems for use on your hard disks: FAT and HPFS. No 
  4315. matter which file system is used, there are some basic considerations. 
  4316.  
  4317. You need to install the file system depending on which operating systems will 
  4318. access the data. If you plan to boot a DOS or Windows system natively, then any 
  4319. data that will be accessed must exist on a FAT disk partition. 
  4320.  
  4321. If you will only be running DOS and Windows applications in a Warp VDM ( 
  4322. Virtual DOS Machine ), then the file system can be HPFS or FAT. 
  4323.  
  4324. Also, when accessing a file on a server, and the server file system is HPFS, 
  4325. you do not need to install HPFS on your local client machine. HPFS only needs 
  4326. to be installed on a computer when a partition on a local hard disk is 
  4327. formatted as HPFS. 
  4328.  
  4329. The amount of memory you have in your machine should affect the decision about 
  4330. which file system to use. When HPFS is installed, it requires a minimum 200 to 
  4331. 250 KB of working set, plus the space allocated for its cache. This is a 
  4332. significant amount of memory and is the main reason why FAT is used when Warp 
  4333. is installed on a system that contains 4 MB of physical memory.. 
  4334.  
  4335. Regardless of which file system you select, you need to plan for future 
  4336. requirements: How will maintenance and fixes be applied? Where will 
  4337. applications be installed? Where will data reside? etc. 
  4338.  
  4339. It is recommended that when you set up your hard disk, you create a minimum of 
  4340. 3 partitions. One will be for the operating system(s), one for your 
  4341. applications and static data files, and another for dynamic data files and 
  4342. temporary files.  Decide whether you want to use Boot Manager or Dual Boot. 
  4343.  
  4344. If you select Dual Boot, then OS/2 must be installed with FAT file system. 
  4345.  
  4346. For temporary files, it is better to have them preallocated and reuse them 
  4347. rather than create and destroy them every time. Extending a file can be almost 
  4348. twice as slow as just writing to a file. Also, if you reuse files, it will 
  4349. definitely reduce the fragmentation in your disk directories. 
  4350.  
  4351.  
  4352. ΓòÉΓòÉΓòÉ 14.2.1. FAT File System ΓòÉΓòÉΓòÉ
  4353.  
  4354. FAT is best suited for disk partitions that are 80 MB or less in size or that 
  4355. have a limited number of files installed. Usually, 256 files is a good target, 
  4356. with up to 500 acceptable. 
  4357.  
  4358. The number of files become important because FAT files are allocated based on a 
  4359. sector size. The sector size is determined by the size of the disk partition 
  4360. and can be 2K, 4K, 8K or higher. 
  4361.  
  4362. Since most file sizes are not an exact multiple of the sector size, disk space 
  4363. gets wasted. For example, installing DOS, Windows and Warp on a 100 MB 
  4364. partition resulted in 2.2 MB of disk space being wasted. 
  4365.  
  4366. Also, when Warp is allocating space for a file in a FAT partition, it will look 
  4367. for the largest available free space area to write the data or create the file. 
  4368.  
  4369. If lots of files were created and deleted, or expanded, these free space areas 
  4370. become smaller and smaller and are spread out over the disk. This is referred 
  4371. to as fragmentation. 
  4372.  
  4373. When a file is stored in many areas on the disk, it takes longer to read that 
  4374. data simply because the disk head has to do more seeking. 
  4375.  
  4376. The FAT file system disk cache is defined by the DISKCACHE= statement in the 
  4377. CONFIG.SYS file. New in Warp is the "D" designation for the size of the disk 
  4378. cache. Warp will allocate space for the disk cache based on the amount of 
  4379. physical memory that is installed in the system. If more than 8 MB is 
  4380. installed, 10% of the physical memory will be used for the disk cache up to a 
  4381. maximum of 14.4 MB. 
  4382.  
  4383. Based on what applications and support you install in your system, this may be 
  4384. too high and cause you to overcommit your memory. If there is not a lot of disk 
  4385. work done on your system, or you are using DB/2 or HPFS, then you should reduce 
  4386. the size of your disk cache. A number between 128 and 256K is sufficient for 
  4387. most systems. On a 4 MB system, the disk cache is set to 48K. 
  4388.  
  4389. In conjunction with the cache size, you should also set the cache threshold. 
  4390. This determines which records being written or read will be placed in the 
  4391. cache. The default is 1 sector. 
  4392.  
  4393. If your cache size is 128K or larger, increase this value to at least 16 and 
  4394. preferably 32. More detail about the DISKCACHE= statement will be given in the 
  4395. section on CONFIG.SYS. 
  4396.  
  4397. Some additional items for improving performance using FAT are: 
  4398.  
  4399.    1. Group files by usage, the most used files first, and least used files 
  4400.       last. 
  4401.  
  4402.    2. Group files based on whether they are static or dynamic. All dynamic and 
  4403.       temporary files should be placed in a separate partition. 
  4404.  
  4405.    3. If possible, place all temporary files in a single directory. 
  4406.  
  4407.    4. If possible, permanently create temporary files and reuse them. 
  4408.  
  4409.    5. Only create directories that are really needed. The fewer number of 
  4410.       directories you have to search, the faster your search will be. 
  4411.  
  4412.    6. Defragment your partitions after installing new applications, deleting 
  4413.       files or applying maintenance and fixes. Any DOS defragmentation program 
  4414.       that is aware of hidden files can be used. 
  4415.  
  4416.  
  4417. ΓòÉΓòÉΓòÉ 14.2.2. HPFS File System ΓòÉΓòÉΓòÉ
  4418.  
  4419. HPFS does away with some of the concerns that are prevalent with FAT. Files are 
  4420. allocated with more granularity than FAT, and "free space" is allocated in 
  4421. anticipation of file size growth. Therefore fragmentation is greatly reduced 
  4422. and less disk space is used on a per file basis. It is not uncommon to regain 
  4423. about 10 MB out of 100 MB as compared to using FAT. 
  4424.  
  4425. Also, HPFS is especially efficient when handling large partition sizes, > 100 
  4426. MB, and large numbers of files, > 500. Try to limit the number of individual 
  4427. files in a directory to not exceed 5000. 
  4428.  
  4429. The HPFS file system shipped with the OS/2 product has a cache limit of 2 MB. 
  4430. There is no such limit when using the HPFS386 file system that comes with the 
  4431. LAN Server products. 
  4432.  
  4433. HPFS cache parameters are specified on the IFS statement in the CONFIG.SYS 
  4434. file. As with FAT, you should specify the caching threshold value. Use the 
  4435. /CRECL parameter to do this. Here you specify a number in terms of K bytes. 32 
  4436. KB is usually a good starting value. 
  4437.  
  4438. As mentioned earlier, a minor drawback to HPFS is the amount of extra memory 
  4439. that it requires to achieve its performance. Even if there is no HPFS partition 
  4440. on your system, it will cost between 128 and 130K of working set memory, as 
  4441. well as the space for the HPFS cache. Overall, it's a small price to pay for a 
  4442. high performance file system. 
  4443.  
  4444. If you are installing Warp on an existing DOS and or Windows system, you do not 
  4445. want to install HPFS. When your system is up and running, you can check the 
  4446. working set of your system. 
  4447.  
  4448. If there is enough free memory and you wish to create a HPFS partition, then 
  4449. you can use selective reinstall to install the HPFS support. Remember that any 
  4450. data stored in the HPFS partition can not be accessed if you boot your machine 
  4451. under DOS. 
  4452.  
  4453. Another advantage of HPFS over FAT is in the area of extended attributes (EAs). 
  4454. EAs are data attached to a file and used to provide information about the file 
  4455. it is attached to. 
  4456.  
  4457. The name of an object that appears in an OS/2 folder or on the OS/2 Desktop is 
  4458. stored in EAs. In HPFS, EAs are part of the HPFS file control block which is 
  4459. read when the file is open. 
  4460.  
  4461. In FAT, EAs are stored in a separate file and require additional I/O to access 
  4462. them, and are therefore slower. 
  4463.  
  4464. Overall, HPFS comes highly recommended. It has matured since conception to 
  4465. bring very safe high performance to your system and successfully replaces the 
  4466. age old FAT design. 
  4467.  
  4468.  
  4469. ΓòÉΓòÉΓòÉ 14.2.3. Gospel of Disk Cache ΓòÉΓòÉΓòÉ
  4470.  
  4471. The following "Gospel of Caching According to Max" is provided by Proportional 
  4472. Software based upon a great deal of OS/2 system "tweaking" done by the DCF/2 
  4473. development team. 
  4474.  
  4475. You can get better performance from your system by using the memory you have 
  4476. available to you in the most efficient and effective way. 
  4477.  
  4478. From the table below, select the case that best describes the file system or 
  4479. systems you use and memory available on your system. 
  4480.  
  4481.  
  4482. CASE 1: You use only HPFS or only FAT but not both
  4483. ----------------------------------------------------------------
  4484.                  HPFS only     FAT only
  4485. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4486.         16 MB        2048      2048
  4487.         12 MB        1536      1536
  4488.          8 MB        1024      1024
  4489.  
  4490. FAT DISKCACHE parms:
  4491.      LAZY WRITES        N/A       LW
  4492.  
  4493. HPFS CACHE parms:
  4494.      LAZY WRITES        /LAZY:ON    N/A
  4495.         MAXAGE        >7,500     N/A
  4496.        DISKIDLE        60,000     N/A
  4497.       BUFFERIDLE        60,000     N/A
  4498.  
  4499. If your system is HPFS only REM out the DISKCACHE statement in
  4500. your CONFIG.SYS file. If your system is FAT only, REM out the
  4501. IFS=HPFS.IFS statement.
  4502.  
  4503.  
  4504. CASE 2: You use both HPFS and FAT (active and passive)
  4505. ----------------------------------------------------------------
  4506.                 HPFS active    FAT passive
  4507. If system memory is at least   Set CACHE to   Set DISKCACHE to
  4508.         16 MB       2048       512 -1024
  4509.         12 MB       1536       256 - 512
  4510.          8 MB       1024       128 - 256
  4511.  
  4512. FAT DISKCACHE parms:
  4513.      LAZY WRITES       N/A        LW
  4514.  
  4515. HPFS CACHE parms:
  4516.      LAZY WRITES       /LAZY:ON     N/A
  4517.         MAXAGE       >7,500      N/A
  4518.        DISKIDLE       60,000      N/A
  4519.       BUFFERIDLE       60,000      N/A
  4520.  
  4521.  
  4522. CASE 3: You use both HPFS and FAT (passive and active)
  4523. ----------------------------------------------------------------
  4524.                  HPFS passive    FAT active
  4525. If system memory is at least   Set CACHE to  Set DISKCACHE to
  4526.         16 MB        1024       2048
  4527.         12 MB        768       1536
  4528.          8 MB        512       1024
  4529.  
  4530. FAT DISKCACHE parms:
  4531.      LAZY WRITES        N/A       LW
  4532.  
  4533. HPFS CACHE parms:
  4534.      LAZY WRITES        /LAZY:ON     N/A
  4535.         MAXAGE        >7,500      N/A
  4536.        DISKIDLE        60,000      N/A
  4537.       BUFFERIDLE        60,000      N/A
  4538.  
  4539. A few more notes: 
  4540.  
  4541.    1. For purposes of the table above, "active" and "passive" are descriptors 
  4542.       for the way a partition is used.  If it is seldom used, it is "passive." 
  4543.       If a lot of disk intensive I/O occurs on the partition, it is "active." 
  4544.  
  4545.    2. The HPFS actually requires 128 to 130K of committed memory as opposed to 
  4546.       the widely perceived 512K.  As cache size increases to 2 MB, this 
  4547.       requirement increases as well, up to a maximum of about 240K. 
  4548.  
  4549.    3. The optimal cache size seems to be 1536. 
  4550.  
  4551.    4. When comparing the relative merits of the HPFS versus FAT, consider the 
  4552.       following:  On partitions of identical size, the HPFS gives you about 15% 
  4553.       more space and performance is about 28% better! 
  4554.  
  4555.    5. Instead of continuing to increase performance, a DISKCACHE value in 
  4556.       excess of 2048 seems to degrade it. 
  4557.  
  4558.  
  4559. ΓòÉΓòÉΓòÉ 14.3. System Tuning ΓòÉΓòÉΓòÉ
  4560.  
  4561. Before covering OS/2 system tuning let's review the concept of threads and how 
  4562. they are used in OS/2. Every program that you run on an OS/2 system will 
  4563. process as one or more threads. 
  4564.  
  4565. A thread is the basic unit of work within OS/2. Each thread requires a minimum 
  4566. of 4K stack space. Stack space is used to save parameters and addresses when 
  4567. different functions are called from a thread. 
  4568.  
  4569. These functions might be reading from or writing to a disk, using semaphores, 
  4570. and other system and program functions. It is important to ensure that you 
  4571. allocate enough stack space for the thread to run. 
  4572.  
  4573. You can use programs such as EXEHDR.EXE to see and modify the stack space 
  4574. allocated for your program. All programs, DOS, Windows and OS/2 use a minimum 
  4575. of one thread. Each thread executes at a given priority. 
  4576.  
  4577. The priority is used by OS/2 to determine which thread gets to run when more 
  4578. than one thread is ready to run. The highest-priority thread ready to run will 
  4579. be the one dispatched by the system and given time to run. It is given what is 
  4580. referred to as a "time slice". This is a set period of time during which a 
  4581. thread is allowed to run. After this time has expired, the highest-priority 
  4582. thread that is ready to run will be given a time slice in which to run. 
  4583.  
  4584. If the same thread still wanted to run, and it was the highest-priority thread, 
  4585. it would receive another time slice to run in. 
  4586.  
  4587. OS/2 programs usually run at normal priority, which is 200. Under program 
  4588. control, the program can change its priority to be server class, 300, or 
  4589. time-critical, 800. 
  4590.  
  4591. It can also change its subclass priority between 0 and 31. A thread that has 
  4592. priority 200 and a subclass of 15 has a higher effective priority than a thread 
  4593. with priority 200 and subclass 0, and therefore runs first. 
  4594.  
  4595. All DOS and Windows applications always run at priority 200. In OS/2 Warp, IBM 
  4596. has added the capability to define the subclass priority for these 
  4597. applications. Care should be taken when using this subclass priority since it 
  4598. may cause other programs to run slower or generate errors in the case of 
  4599. communication applications that do not get the subclass boost. 
  4600.  
  4601. Warp will give OS/2 threads a priority boost for specific types of functions 
  4602. and states. Following are the priority boosts that are received, in descending 
  4603. order: 
  4604.  
  4605.    1. Disk I/O: When an interrupt is received stating that a disk operation has 
  4606.       completed, the thread that processes this state will receive a priority 
  4607.       boost for one time slice to process this interrupt. 
  4608.  
  4609.    2. Starved: In the CONFIG.SYS file, there is a statement MAXWAIT=3. The 
  4610.       number 3 specifies how long a thread can be in the ready-to-run state 
  4611.       without having received time to run. If a thread had been waiting to run 
  4612.       for 3 seconds, its priority would be raised to the Starved priority 
  4613.       level. 
  4614.  
  4615.    3. Keyboard: This is a boost in priority given to a thread when it is 
  4616.       interacting with the system keyboard. Basically, it is for accepting 
  4617.       typed in data. 
  4618.  
  4619.    4. Foreground:  This is a priority boost given to all threads of the program 
  4620.       that owns the active window on the OS/2 screen, the one that is 
  4621.       highlighted. 
  4622.  
  4623.    5. Windowed:  Threads which have windows showing on the display will also 
  4624.       receive a priority boost when drawing or writing into that window. 
  4625.  
  4626.  When a thread is in more than one of these states, the system will combine the 
  4627.  states and give a priority based on the combined states. 
  4628.  
  4629.  For DOS and Windows applications, these priority states do not apply. Instead, 
  4630.  a second thread is used to handle the interrupt, and that thread is given an 
  4631.  interrupt boost.. 
  4632.  
  4633.  Idle class is the other priority class that exists in OS/2. This priority 
  4634.  level runs only when nothing else in the system wants to run. Threads in this 
  4635.  class will not receive any of the state boosts. 
  4636.  
  4637.  If DOS and/or Windows applications are being run, then you should avoid the 
  4638.  use of threads that run in idle class because they will never run but will 
  4639.  take up system space. 
  4640.  
  4641.  
  4642. ΓòÉΓòÉΓòÉ 14.3.1. CONFIG.SYS Settings ΓòÉΓòÉΓòÉ
  4643.  
  4644. These are specific things in the CONFIG.SYS file that you can change to affect 
  4645. the performance of your system. 
  4646.  
  4647. First, we cover those statements that you should NOT modify unless you have a 
  4648. system which has a special use, such as a process control system. An example 
  4649. would be a system used to monitor a manufacturing machine or chemical process, 
  4650. where timing and response time are critical factors. 
  4651.  
  4652.    1. PRIORITY_DISK_IO=YES  This allows the application that has screen focus 
  4653.       to receive a priority boost when it's disk operation is complete. This 
  4654.       applies to the first time slice given to the thread after the disk 
  4655.       operation is complete. After the time slice, the state is reset for the 
  4656.       thread and the priority boost removed. 
  4657.  
  4658.    2. MEMMAN=SWAP,PROTECT  Allows OS/2 to swap code and data to disk when more 
  4659.       memory is needed than is physically available in your computer. If you do 
  4660.       not specify SWAP, you will need enough physical memory in you computer to 
  4661.       hold all the code and data that OS/2 and your application needs to run. 
  4662.       You do not pay a penalty by specifying SWAP and then not needing to use 
  4663.       it. The PROTECT parameter allows Dynamic Link Libraries (DLL) to allocate 
  4664.       protected memory. Protected memory is memory that is protected from being 
  4665.       accessed by unauthorized programs. You can also specify a COMMIT 
  4666.       parameter. This forces the system to ensure that enough physical memory 
  4667.       or swap file disk space is available for a memory object when it is 
  4668.       created. Normally, OS/2 commits physical and disk memory when the page of 
  4669.       memory is actually touched. Specifying this parameter can significantly 
  4670.       increase the amount space your swap file uses on disk. 
  4671.  
  4672.    3. TIMESLICE=X,Y  This statement is not found in the CONFIG.SYS file after 
  4673.       you install OS/2 but is sometimes recommended to be added. This was okay 
  4674.       to add for OS/2 2.0, 2.1 or 2.11 systems, but not for OS/2 Warp. In Warp, 
  4675.       it dynamically modify a thread's time slice based on actions that have 
  4676.       occurred. For instance, if a thread took a page fault during it's time 
  4677.       slice, an extra time slice is granted to process what is contained in the 
  4678.       faulted page. An applications doing disk I/O is given an extra time 
  4679.       slices if the data they are reading is in the disk cache. When the 
  4680.       TIMESLICE parameter is used, none of these actions will occur. Instead, 
  4681.       each thread will be given the minimum time slice of X, and its time slice 
  4682.       will not be allowed to go beyond value Y. 
  4683.  
  4684.    4. PRIORITY=DYNAMIC  If DYNAMIC is not specified, then each thread will 
  4685.       receive a minimum and maximum time slice of 32 milliseconds with no 
  4686.       additional time slices as described in the TIMESLICE= statement 
  4687.       description above. 
  4688.  
  4689.    5. DEVICE=C:\OS2\BOOT\VDISK.SYS  This statement allocates a virtual disk in 
  4690.       your computers physical memory. It is used for quick access to often-used 
  4691.       files and programs. This was good for a DOS environment where the extra 
  4692.       memory in your computer was not used by DOS, but OS/2 uses this memory, 
  4693.       and your performance can be adversely affected if a VDISK is used. It is 
  4694.       much better to increase the size of the disk cache if you have unused 
  4695.       physical memory than it is to use VDISK. 
  4696.  
  4697.  Now let us look at statements in CONFIG.SYS which you should change to help 
  4698.  improve the performance of your Warp system. 
  4699.  
  4700.    1. LIBPATH=  This tells the system where to find DLL files and disk device 
  4701.       drivers that Warp and applications use. Place the directory names in 
  4702.       order of usage. The most accessed directory should be first, the least 
  4703.       used last. If possible, place the DLL used by a program in the same 
  4704.       directory as the working directory when the program is running. Then, you 
  4705.       do not need to add that directory to the LIBPATH statement. Also, place 
  4706.       all directories that are on a network at the end of your LIBPATH 
  4707.       statement in case the network goes down and they cannot be accessed. See 
  4708.       the discussion of dynamic LIBPATH support later on in this paper for 
  4709.       additional considerations when accessing network drives. 
  4710.  
  4711.    2. PATH=  is used to specify where Warp searches for program executable 
  4712.       files, EXE, COM, CMD, BAT, etc.  Place the directories in order of most 
  4713.       used first, least used last. If programs will be executed from an object 
  4714.       on your desktop or folder, specify the path there and not in the PATH 
  4715.       statement. Only place directories in the PATH statement for executables 
  4716.       that will be called from other programs or commands. 
  4717.  
  4718.    3. DPATH=  The same principle applies to DPATH as PATH and LIBPATH.  For 
  4719.       resources that applications use, place the most used directories first 
  4720.       and the least used last. 
  4721.  
  4722.    4. BUFFERS=90  Buffers are physical memory used to support partial sector 
  4723.       reads and writes in a FAT file system environment. They are also used to 
  4724.       cache FAT directory entries and for swap file disk I/O. Because BUFFERS 
  4725.       are used to cache FAT directory entries, this number should not be 
  4726.       reduced below 60, unless you are not using the FAT file system on your 
  4727.       disks. Reducing this number will increase the number of disk reads that 
  4728.       are done to the FAT directory entries and therefore slow down your 
  4729.       system. 
  4730.  
  4731.    5. MAXWAIT=3  This specifies the maximum amount of time that a thread will 
  4732.       be in a ready-to-run state without receiving a time slice to run in. 
  4733.       After this time expires, the thread will be given a boost in priority so 
  4734.       it gets a chance to run. Reducing this value to 2 may help in systems 
  4735.       where there are a lot of programs running, or multiple separate 
  4736.       DOS/Windows programs running. Reducing it to 1 on systems where there is 
  4737.       swap activity taking place can slow down the system. 
  4738.  
  4739.    6. DISKCACHE=D,LW,T,AC  This is used to specify the amount of physical 
  4740.       memory set aside to cache data that is being read from or written to 
  4741.       disk. D represents a dynamic disk cache value that varies in size from 
  4742.       48K to 14400K, based on the amount of physical memory you have in your 
  4743.       system. If you have more than 8 MB in your system, D will be 10% of your 
  4744.       system's physical memory. The D should be changed to the actual amount of 
  4745.       disk cache space you require. If you have a system where your programs do 
  4746.       not do much disk I/O or where your memory is being used up by your 
  4747.       applications, you may want to set this value to 128. Also, reduce this 
  4748.       value if you are using the DB/2 product or any other product that 
  4749.       provides its own disk data caching. The T parameter is not defined in the 
  4750.       default CONFIG.SYS file. It defines the  cache threshold for records that 
  4751.       go into the cache. The default value is 4. This means that any record 
  4752.       that is 4 sectors or less will go into the cache, while those greater 
  4753.       will not. If your disk cache size is 128K or larger, add this parameter 
  4754.       to the disk cache statement. If known, set this value to the largest 
  4755.       record size used. Otherwise, set the value to 32. The LW parameter 
  4756.       activates the Lazy Write or write behind feature. This allows the 
  4757.       application to get control back before the data is actually written to 
  4758.       disk. A separate thread will write the data from the cache to the disk 
  4759.       when necessary or opportune to do so. You should always use this option, 
  4760.       and code any applications to open files with cache bypass option if disk 
  4761.       data security is imperative. 
  4762.  
  4763.    7. SWAPPATH=D,R,S  SWAPPATH specifies where code and data pages are swapped 
  4764.       to on disk when more physical memory is needed than is available in your 
  4765.       system. D represents the path where your SWAPPER.DAT file is located. For 
  4766.       systems which have multiple partitions or multiple disks, this should be 
  4767.       placed on the least used  directory of the least used disk. Also, try to 
  4768.       physically locate the swap file on the disk based on its usage. If you 
  4769.       are doing a lot of swap activity, place the swap file at the start of the 
  4770.       disk. If is it rarely used, place it at the end. S is the size that the 
  4771.       swap file is initialized to when you start your Warp system. Make this 
  4772.       large enough so that it does not have to grow in size while you are 
  4773.       running your programs. You should perform your normal computer functions 
  4774.       and look at the size of the swap file when you have the most activity. 
  4775.       Then set the value of the S to this size in the CONFIG.SYS file. If you 
  4776.       are using the FAT file system, IPL your system under DOS, delete the 
  4777.       SWAPPER.DAT file, defragment the disk partition where the swap file will 
  4778.       be located, and then IPL your OS/2 system. This should keep your swap 
  4779.       file from getting fragmented. R specifies the amount of free space that 
  4780.       must be in the swap file. The default for this value is adequate and only 
  4781.       needs to be changed if you want to be warned earlier about a possible 
  4782.       out-of-memory situation. 
  4783.  
  4784.    8. THREADS=  THREADS defines how many threads the system will be able to 
  4785.       use.  One page of resident memory is need for approximately every 32 
  4786.       threads that are defined. As a minimum, you will need 80 threads to 
  4787.       support the base Warp system and 3 or 4 OS/2, DOS and or Windows 
  4788.       applications. The system will support up to 64000 threads, but typically 
  4789.       you will not have enough memory in your system to support more than 300 
  4790.       to 500 threads. 18 threads are required for LAN Server 4.0. To calculate 
  4791.       the number of threads that you will need in your system, use the formula 
  4792.       54+(2xN)+10 where N is the number of programs that you will run together. 
  4793.       If the program requires more than 2 threads, add in the additional 
  4794.       threads. 
  4795.  
  4796.  Additional CONFIG.SYS Considerations: 
  4797.  
  4798.    1. You should only install the devices drivers that your programs actually 
  4799.       need to run. 
  4800.  
  4801.    2. Do not install extra communication, printer, video or device drivers if 
  4802.       they will not be used. Below are a list of device drivers and virtual 
  4803.       device drivers that are normally found in CONFIG.SYS and that may not be 
  4804.       needed. (Virtual device drivers are used to support DOS and Windows 
  4805.       applications and usually have a V at the beginning of their name.) 
  4806.  
  4807.         a. VEMM.SYS  Used to support Expanded Memory use in DOS and Windows 
  4808.            programs. 
  4809.  
  4810.         b. VXMS.SYS  Supports Extended Memory in DOS and Windows applications. 
  4811.  
  4812.         c. VDPMI.SYS  Supports the DPMI memory access and is required to 
  4813.            support all Windows applications. 
  4814.  
  4815.         d. VW32S.SYS  Supplies support for the WIN32S Windows APIs. Not needed 
  4816.            for Windows programs that do not use WIN32S APIs. 
  4817.  
  4818.         e. IBMxFLPY.ADD  x will be either a 1 or a 2. 1 is used for family 1 
  4819.            machines and 2 is for MCA machines. You do not need both. 
  4820.  
  4821.         f. XDFLOPPY.FLT  This is required for reading diskettes which are 
  4822.            written using the XDF (Extended Disk Format) format. These are 
  4823.            usually OS/2 and PCDOS 7 installation diskettes, printer and video 
  4824.            driver diskettes. The Warp Install and Disk 1 diskettes do not use 
  4825.            the XDF format. 
  4826.  
  4827.         g. COM.SYS and VCOM.SYS are only required if you will be doing serial 
  4828.            or async  communications. 
  4829.  
  4830.  If you use the selectable CONFIG.SYS option in the Archive and Retrieve 
  4831.  feature of Warp, it is possible to create multiple CONFIG.SYS files which will 
  4832.  contain different device drivers based on your needs. For example, you could 
  4833.  create one CONFIG.SYS file that is used for maintenance and installation. This 
  4834.  one would include the XDFLOPPY.FLT and both IBMxFLPY.ADD drivers plus 
  4835.  additional threads. Another CONFIG.SYS used for normal processing could have 
  4836.  these device drivers removed and a lower number of threads. When maintenance 
  4837.  has to be applied to the system, or some additional new products installed, 
  4838.  you could IPL the machine with the Archive and Retrieval menu active and 
  4839.  select the proper CONFIG.SYS to be used. An extension of this would be to 
  4840.  archive the CONFIG.SYS and the OS/2 INI files and select those to apply 
  4841.  maintenance. 
  4842.  
  4843.  Note:  DO NOT assume that the Archive and Retrieve feature of Warp acts as a 
  4844.  means to backup the desktop. In the event of a complete disk failure, only 
  4845.  backup images stored off line can be depended upon. 
  4846.  
  4847.  
  4848. ΓòÉΓòÉΓòÉ 14.3.2. Desktop Settings ΓòÉΓòÉΓòÉ
  4849.  
  4850. Let's look at some of the System Settings and Desktop settings that can be 
  4851. tuned to improve a system's performance. In the System Setup Folder there are 
  4852. many utilities that are available. 
  4853.  
  4854. Add "SET RESTARTOBJECTS=STARTUPFOLDERSONLY" in your CONFIG.SYS to keep OS/2 
  4855. from restarting at bootup all previous open application. 
  4856.  
  4857. Spooler:  The drop-down menu provides an option to disable the spooler. This 
  4858. can be done without problems when only one job will be active on your printer 
  4859. at a time. This will save a little bit of memory and one process and thread in 
  4860. your system. If you have a dedicated print spool machine, then you should raise 
  4861. the priority of the spooler to it's highest point. For non-dedicated print 
  4862. spool systems, the priority should remain at the default. You would only 
  4863. increase this if (for example) you raised the subpriority of a DOS session and 
  4864. wanted to print documents while running the DOS session. In this case, you 
  4865. would want to make the priority of the print spooler the same as the DOS 
  4866. session. 
  4867.  
  4868. Schemes and Color Palette:  You should use solid colors and avoid the use of 
  4869. bitmaps for desktop and folder backgrounds when conversing memory. These 
  4870. particular options use more memory and require more processing time to display 
  4871. them. 
  4872.  
  4873. Sounds:  Deselect the System Sounds options, unless you like the noises when 
  4874. opening and closing your folders. It costs between 250 and 300K in working set 
  4875. just to hear the noise. An additional 40K or so of working set can be saved by 
  4876. executing DINSTSND.CMD in an OS/2 command session. This will unhook the system 
  4877. sounds from the OS/2 desktop. To get them back, you would execute INSTSND.CMD. 
  4878.  
  4879. Font Palette:  Only install the fonts that you will actually use in your 
  4880. system. Also, try not to mix fonts in folders or on the OS/2 Desktop. If you 
  4881. do, you will be using extra memory. Outline fonts tend to be a little smaller 
  4882. in terms of memory than bitmap fonts and once they are in the cache, they 
  4883. perform just as fast. 
  4884.  
  4885. WIN-OS/2:  When defining a Windows program, select common sessions and make DDE 
  4886. and Clipboard support both private. If floating-point is used in your Windows 
  4887. applications, use the enhanced run mode for Windows. Also, if you have a 
  4888. Windows application that you always run, it is better to start it via the 
  4889. Startup Folder than to use the Fast Load option and start it from the Desktop. 
  4890. Finally, ensure that when you migrate, install or add Windows programs to you 
  4891. system, that the run mode for these is the same as the common session run mode. 
  4892. If run modes are different, then you will have two separate Windows sessions 
  4893. running even though you stated that a common session is to be used. 
  4894.  
  4895. System Setup:  Disabling the Animation and Print Screen option can save a 
  4896. little in code path and memory. Setting the System Logo option to none can save 
  4897. some time when loading applications that check this parameter to see how long 
  4898. to display their applications logo. The type-ahead option will use a little 
  4899. more memory. When selecting screen resolutions, remember that the higher the 
  4900. resolution, the more memory that is used.  Very high resolution and color 
  4901. support can require 100 to 200K of physical memory. 
  4902.  
  4903. Mouse:  Mouse pointers are basically bitmaps. The amount of memory used will be 
  4904. affected by which mouse pointer style you choose. If you activate the comet 
  4905. cursor, this will cost additional memory and processing time whenever the mouse 
  4906. is being used. 
  4907.  
  4908. Desktop Settings:  Desktop settings are selected by choosing the Settings 
  4909. option on the Desktop menu. Choosing Automatic Lockup will cause extra code 
  4910. path and processing time to occur. Normally this is very minimal, until the 
  4911. time-out value expires. Then you are looking at about 40 to 50K of working set. 
  4912. If you select Create Archive on system restarts, this will slow down your 
  4913. systems IPL time. You want to set this option only when you have changed your 
  4914. desktop and/or configuration and want to save it. Once it has been saved, turn 
  4915. this option off. You can get to the Archive Retrieve menu screen when you IPL 
  4916. your machine by using the ALT+F1 key sequence. 
  4917.  
  4918. Conclusion: 
  4919.  
  4920.    1. All the bells and whistles, neat features, applications and devices come 
  4921.       at a cost. They all cost disk space, they all use memory, and they all 
  4922.       have the potential for slowing your system down. 
  4923.  
  4924.    2. To minimize this, plan ahead. Decide what the system will be used for and 
  4925.       what your future uses will be. Then, set up the system accordingly. 
  4926.  
  4927.    3. Install only the things that you are actually going to use and need. 
  4928.       Ensure that there is a match between the software you install and the 
  4929.       hardware you install it on. 
  4930.  
  4931.    4. If an application or feature cost more memory than you have, either don't 
  4932.       install the feature, or get more memory for your system. 
  4933.  
  4934.    5. Be creative and logical. You can set the system up with different 
  4935.       configurations and different support, defined to optimize performance 
  4936.       based on the particular functions you perform and applications you use. 
  4937.  
  4938.    6. Finally, become aware of what Warp has to offer and use it to your 
  4939.       advantage. 
  4940.  
  4941.  
  4942. ΓòÉΓòÉΓòÉ 15. Glossary ΓòÉΓòÉΓòÉ
  4943.  
  4944.    1. Virtual Memory refers to the concept that available disk space is used to 
  4945.       hold inactive memory while demanding active memory can be serviced. This 
  4946.       is managed in cooperation by both the operating system (OS/2) and the 
  4947.       CPU. OS/2 deploys and takes advantage of a true Virtual Memory model by 
  4948.       using the OS/2 Swap file for temporarily holding over-committed and 
  4949.       inactive memory. 
  4950.  
  4951.    2. Swapping is a normal activity for any computer. A machine with little 
  4952.       memory (ie. 8 MB) may experience heavy "swapping". This occurs when the 
  4953.       operating system spends (more) time swapping than allowing actual work to 
  4954.       be done by the user. Install more memory. Following the Least Recently 
  4955.       Used (LRU) algorithm, OS/2 memory management will identify individual 4 
  4956.       KB memory pages as being "swappable". When not enough REAL memory is 
  4957.       present for more demanding memory pages, OS/2 swaps-out the least used. 
  4958.  
  4959.    3. Real Memory refers to the amount of physical memory installed in the 
  4960.       computer and is used in comparison to Virtual Memory. 
  4961.  
  4962.    4. Free Memory refers to the amount of actual free REAL memory available to 
  4963.       OS/2 and OS/2 programs. This will never be shown as a number higher than 
  4964.       the amount of physical memory installed in the computer. 
  4965.  
  4966.    5. Resident Memory refers to the amount of REAL memory which is not 
  4967.       swappable nor discardable usually belonging to the operating system 
  4968.       (OS/2) or applications which created the memory as non-swappable. For 
  4969.       performance reasons, the operating system will maintain critical and 
  4970.       highly active memory as Resident memory. 
  4971.  
  4972.    6. Swappable Memory refers to the amount of REAL memory which is identified 
  4973.       as noncritical or Least Recently Used (LRU algorithm) memory pages 
  4974.       capable of being swapped-out to the OS/2 swapper file until the memory is 
  4975.       in demand. The term is synonymous with "discardable" memory. 
  4976.  
  4977.    7. Print Spooler is a facility which facilitates directing print output to a 
  4978.       particular print queue without having to wait for the printer to receive 
  4979.       and print the output. 
  4980.  
  4981.    8. Print Queues are an intermediate holding place for print jobs. Related to 
  4982.       the Print Spooler, there is a 1-to-1 relationship between a Print Queue 
  4983.       and a physical printer. When a print job gets spooled into a particular 
  4984.       print queue, the print job can be automatically printed, place on hold, 
  4985.       or subsequently released for printing. 
  4986.  
  4987.    9. Process refers to 1 instance of an executing program. Every Process is 
  4988.       assigned a unique ID (hence Process ID or PID) by the operating system 
  4989.       (OS/2). Every Process ID has at least 1 Thread. A process can launch 
  4990.       another process. This makes the launching process the parent and the 
  4991.       launched process the child. Hence Parent Process ID or PPID. 
  4992.  
  4993.   10. Threads are functions created by a Process and execute asynchronous to 
  4994.       the Process.  A Process has by default 1 thread, but can create many. 
  4995.       Threads of a process have a finite life and terminate when the main 
  4996.       process ends. Every Thread is assigned a unique ID (hence Thread ID or 
  4997.       TID) by the operating system (OS/2). Each thread will have a "state" 
  4998.       which identifies whether the thread is active or waiting for a time slice 
  4999.       to be granted by OS/2. 
  5000.  
  5001.   11. Sessions are unique instances of a process which have a "screen group". A 
  5002.       Process with a Screen Group has a virtual keyboard, screen, and mouse. 
  5003.       Unlike "Detached" (Daemon) processes which execute completely in the 
  5004.       background, have no form of user input or output and are not always 
  5005.       visible to the user. When a process within a Session launches another 
  5006.       process asynchronously, the child process is assigned a unique Session ID 
  5007.       or SID. Launched synchronously, the child process inherits the same 
  5008.       Session ID as the parent. 
  5009.  
  5010.   12. Process Monitor allows the user to view the many attributes associated 
  5011.       with 1 or more Processes and their respective Threads. OS/2 maintains a 
  5012.       "Process Table" to keep track of all the processes and threads executing. 
  5013.       PM Patrol provides a very robust Process Monitor facility. Every possible 
  5014.       process and thread attribute can be monitored. 
  5015.  
  5016.   13. Time Slice refers to the operating system (OS/2) granting a process 
  5017.       thread a certain amount of CPU execution time in a multitasking 
  5018.       environment. This capability allows the user to work simultaneously on 
  5019.       many tasks. A Process can set his priority level so that OS/2 will grant 
  5020.       more time, more often. This granting of time slices is known as the 
  5021.       "Scheduler" in an operating system. 
  5022.  
  5023.   14. The OS/2 Scheduler is a very robust algorithm and integral operating 
  5024.       system component capable of servicing time critical applications in the 
  5025.       most demanding real-time environments. This, combined with stability, 
  5026.       connectivity, and maturity is why OS/2 is useful for mission critical 
  5027.       systems. 
  5028.  
  5029.   15. Preemptive Multitasking in OS/2 provides the ability to "preemptively" 
  5030.       interrupt one process without it's knowledge or control to allow another 
  5031.       process a time slice. DOS+Windows and Windows-95 attempt to preemptively 
  5032.       multitask, but suffer from architectural flaws which render them more 
  5033.       "cooperative" multitasking operating systems. True preemptive 
  5034.       multitasking operating systems such as OS/2, Windows NT, and UNIX, lend 
  5035.       themselves to mission critical and time sensitive applications. 
  5036.       Multimedia is a good example of a time sensitive application. 
  5037.  
  5038.  
  5039. ΓòÉΓòÉΓòÉ 16. Trouble Shooting ΓòÉΓòÉΓòÉ
  5040.  
  5041. This section discusses topics of potential difficulty, compatibility, and 
  5042. idiosyncrasies of PM Patrol features. Everyone should read this section. 
  5043.  
  5044. The Float to Top option does not work when the E.EXE editor is active or causes 
  5045. a 3175 error. Due to a bug in the E.EXE editor under OS/2 version 2.1 and 2.11, 
  5046. PM Patrol temporarily disables the "Float to Top" option while E.EXE is the 
  5047. active window. This bug in E.EXE is fixed in OS/2 Warp 3.0.  If this problem 
  5048. surfaces: 
  5049.  
  5050.    1. Change the "Process Monitors" in PM Patrol's "Refresh Settings" to a 
  5051.       lower value such as 3 or 4 seconds. 
  5052.  
  5053.    2. Or, turn off the "Float to Top" in the PM Patrol "Options" dialog. 
  5054.  
  5055.  A running program's priority is different than that specified in the Program 
  5056.  Launcher or Scheduler. 
  5057.  
  5058.  Note:  Once launched, a program can change it's own priority Class and Range 
  5059.  settings. This means that PM Patrol sets the program's "default" priorities 
  5060.  with those that you select, but does not control it after the program has been 
  5061.  launched. A good example of this is running Windows programs. The Win-OS/2 
  5062.  environment will typically change the priority to "Regular" for both Class and 
  5063.  Range. Therefore, Windows programs can NOT be controlled by PM Patrol for 
  5064.  priority control. 
  5065.  
  5066.  Free Memory ALWAYS reports 0 KB or maximum KB available: 
  5067.  
  5068.    1. OS/2 views memory as a flat linear address space and deploys a true 
  5069.       Virtual Memory Model. Because of this, calculation of Free Memory is 
  5070.       subject to the following constraint. 
  5071.  
  5072.       Note:  If your system hardware consists of MORE than 16 MB of memory and 
  5073.       the hard disk controller is a 16-bit adapter, Free Memory calculation may 
  5074.       not be accurately reported. Use a 32-bit disk controller when more than 
  5075.       16 MB RAM is installed. 
  5076.  
  5077.  When printing, the output is garbled or incorrect: The PM Patrol Port Monitor 
  5078.  is active by default and monitors the print stream. There may be cases when 
  5079.  printing with the OS/2 Spooler disabled where you might experience these 
  5080.  symptoms. To remedy this, run PM Patrol without the Port Monitor active by 
  5081.  specifying the command-line parameter "-P" when starting PM Patrol. If the 
  5082.  problem persists, it's not being caused by PM Patrol. Check your print driver. 
  5083.  
  5084.  Using another CPU monitor program causes questionable CPU results to be 
  5085.  reported by PM Patrol: The PM Patrol CPU monitor is designed to co-exist with 
  5086.  other CPU monitors. However, there may be an occasion where you might 
  5087.  experience a problem. This is nothing against PM Patrol or other CPU monitors, 
  5088.  it's just the nature of the monitor and how a CPU monitor works. They are not 
  5089.  designed to "compete" with each other. PM Patrol is "aware" of other CPU 
  5090.  monitors when they are active such as (Pulse, SPM/2, and several others). The 
  5091.  first recommendation would be not to run more than 1 CPU monitor at a time, 
  5092.  but please report the problem to WallyWare. 
  5093.  
  5094.  Not all Monitor display items can fit on the PM Patrol Status Line: 
  5095.  
  5096.    1. PM Patrol does not expect anyone user to desire ALL PM Patrol monitors on 
  5097.       the Status Line at once and therefore does not attempt to claim they all 
  5098.       fit. However, there are a number of things that can help. 
  5099.  
  5100.    2. Enable the "Display Compact" option under "Status Line Options" of PM 
  5101.       Patrol. When enabled, all Status Line abbreviations such as "Ram", "Swp", 
  5102.       "Net", and others are removed. This option was specifically designed to 
  5103.       address this issue. 
  5104.  
  5105.    3. Depending on the font you have selected, this may be true. Try using a 
  5106.       smaller font - perhaps a VIO style font. The 2.VIO font is the smallest 
  5107.       font for a VGA system. 
  5108.  
  5109.    4. Using the "Show Decimal" option for Status Line monitors, turn this 
  5110.       option off allowing PM Patrol to round values and will free-up some 
  5111.       Status Line space. 
  5112.  
  5113.    5. Another option is to turn off the "Graphical" display of free memory or 
  5114.       CPU usage. This will then display the numeric values only. 
  5115.  
  5116.    6. If there are a lot of drives on-line, turn off the "Drives On-line" 
  5117.       monitor of PM Patrol. 
  5118.  
  5119.  PM Patrol displays Drive B when no physical Drive B exists: OS/2 supports two 
  5120.  "logical" floppy drives. A and B, even if drive B is nonexistent. In fact, if 
  5121.  you were to type "Dir B", OS/2 will prompt you to insert a diskette into drive 
  5122.  B. This demonstrates 1 physical but 2 logical drives. 
  5123.  
  5124.  Your system seems to constantly show excess CPU usage via the PM Patrol CPU 
  5125.  monitor: 
  5126.  
  5127.    1. It's not unusual with today's diverse software, multimedia, and the 
  5128.       ability to run DOS/Windows under OS/2, to see constant CPU usage. Use the 
  5129.       PM Patrol Process Monitor window to identify culprits of CPU activity. 
  5130.  
  5131.    2. Check to make sure the PM Patrol refresh rates found in "Refresh 
  5132.       Settings" are not set at their absolute most minimum values. These 
  5133.       minimum values can be too aggressive on 386-33 MHz systems (or less). 
  5134.  
  5135.    3. Make sure your not running another CPU monitor in addition to PM Patrol. 
  5136.       If you must, turn off the "CPU Monitor" in the PM Patrol "Options" 
  5137.       dialog. 
  5138.  
  5139.  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, and 
  5140.  Network Monitor) active and automatically refreshing, may be too much overhead 
  5141.  for some slower 386 class computers. Therefore, you may need to use these 
  5142.  windows selectively and not continuously. 
  5143.  
  5144.  Due to the nature and dynamics of OS/2's method of virtual memory swapping, PM 
  5145.  Patrol's calculation of free swap space is an approximation and may not result 
  5146.  in an exact calculation all the time. As compared to all PM Patrol's resource 
  5147.  monitors, swap utilization is the only one that may yield approximation. For 
  5148.  systems that are memory rich and therefore swap little, monitoring swap 
  5149.  utilization may not be necessary. 
  5150.  
  5151.  
  5152. ΓòÉΓòÉΓòÉ 17. Caveats ΓòÉΓòÉΓòÉ
  5153.  
  5154. PM Patrol is designed with special attention to performance and causes no 
  5155. system degradations when properly used. 
  5156.  
  5157. The PM Patrol defaults and minimum allowable settings for "Refresh Settings" 
  5158. protects you from system-wide degradation. However, setting the refresh rates 
  5159. at their minimum values may be too aggressive for some low-end computers. The 
  5160. overhead for PM Patrol is no more than 1-2 percent CPU load (average over 1 
  5161. minute) and only during resource sampling. 
  5162.  
  5163. Note:  The CPU effort to collect Process Meter data, although minimal when 
  5164. active, can be negatively influenced by adjusting the "Process Monitors" 
  5165. frequency in PM Patrol's "Refresh Settings" dialog too low - depending on the 
  5166. computer. As a rule of thumb, set the "Process Monitors" frequency to the 
  5167. following, but never lower: 
  5168.  
  5169.    1. 5 seconds for i386 class computers 
  5170.  
  5171.    2. 4 seconds for i486 class computers 
  5172.  
  5173.    3. 3 seconds for Pentium class computers 
  5174.  
  5175.  The Process Monitor, Memory Monitor, and Network Monitor windows create minor 
  5176.  delays in the form of brief CPU spikes. These spikes are normal and can be 
  5177.  further controlled in the PM Patrol "Refresh Settings". 
  5178.  
  5179.  Note:  With all PM Patrol Monitor windows (Process Monitor, Memory Monitor, 
  5180.  and Network Monitor) active and automatically refreshing, may be too much 
  5181.  overhead for some slower 386 class computers. Therefore, you may need to use 
  5182.  these windows selectively and not continuously. 
  5183.  
  5184.  As with all our products, we are committed to supporting and enhancing PM 
  5185.  Patrol. Due to the nature of some of the PM Patrol features (i.e. Process 
  5186.  Monitor and Process Meter) and it's unique application, compatibility with 
  5187.  future versions of OS/2 can not be 100% guaranteed. 
  5188.  
  5189.  
  5190. ΓòÉΓòÉΓòÉ 18. What's New and Version History ΓòÉΓòÉΓòÉ
  5191.  
  5192. This section outlines a historical record of new features and enhancements 
  5193. applied to the PM Patrol product. 
  5194.  
  5195. We're on the Web. You can ALWAYS get the latest version of PM Patrol from our 
  5196. WallyWare Internet Web site at http://homepage.interaccess.com/~wally and send 
  5197. Internet e-mail to wally@interaccess.com. 
  5198.  
  5199. These items are new in PM Patrol version 4.2b: 
  5200.  
  5201.    1. A compatability problem with PM Patrol's CPU monitor and Lotus 
  5202.       SmartCenter has been fixed. The Status Line overall CPU load and the 
  5203.       Process Monitor now report correct CPU load with SmartSuite co-existance. 
  5204.       This fix is necessary for Merlin compatability. A special thanks to Jon 
  5205.       for assisting with this problem resolution. 
  5206.  
  5207.    2. Added Reflect Reserved in VRam. This option provides the ability to have 
  5208.       the Free Virtual Memory calculation reflect (or not reflect) the reserved 
  5209.       disk space as specified in the "swappath" directive of your OS/2 
  5210.       Config.Sys. This new option is located under PM Patrol's General 
  5211.       Settings. 
  5212.  
  5213.    3. Added Reflect Free RAM in VRam. This option provides the ability to have 
  5214.       the Free Virtual Memory calculation reflect (or not reflect) free Real 
  5215.       memory in the calculation of Free/Used Virtual memory. Ones definition of 
  5216.       Virtual Memory may or may not include Real Memory into the calculation. 
  5217.       This option provides you the ability to select your choice of definition. 
  5218.  
  5219.    4. Added new startup command-line parameter. Use the "-N" Parameter to 
  5220.       disable network traffic I/O monitoring for the workstation. 
  5221.  
  5222.    5. A minior bug with the PM Patrol Scheduler has also been fixed. PM 
  5223.       Patrol's Scheduler requires that the Process Meter be active and is now 
  5224.       automatically activated when 1 or more Scheduler task(s) exist. 
  5225.  
  5226.  These items are new in PM Patrol version 4.2a: 
  5227.  
  5228.    1. The Inverted option introduced in version 4.1 has been enhanced to allow 
  5229.       individual selection of which monitors to invert. This one's for you 
  5230.       Noah. 
  5231.  
  5232.    2. Fixed non-critical problem in Spooler Monitor where a large number of 
  5233.       print queues could cause PM Patrol to exhaust its buffers. 
  5234.  
  5235.    3. The Spooler Purge, Release, and Hold operations in PM Patrol now support 
  5236.       up to 20 print queues. 
  5237.  
  5238.    4. The Program Scheduler and Program Launcher lists are now sorted for 
  5239.       easier viewing - finally. 
  5240.  
  5241.  These items are new in PM Patrol version 4.2: 
  5242.  
  5243.    1. The Event Monitor will now allow monitoring for drive free space when the 
  5244.       particular drive hasn't been selected for display on the Status Line. 
  5245.       This allows you to be notified via the Event Monitor of low disk space 
  5246.       w/o seeing the drive on the Status Line (aka. Background monitoring). 
  5247.       When and if a drive under Event Monitoring goes offline, no notification 
  5248.       will be given regarding free space. Notification is, however, provided on 
  5249.       the PM Patrol Status Line for a given drive which has been selected for 
  5250.       Status Line display. 
  5251.  
  5252.    2. Performance Improvements were made to the Data Collection engine which 
  5253.       services the Process Meter and Scheduler facilities in PM Patrol. 
  5254.  
  5255.    3. The parsing of the Security Password in PM Patrol now strips off leading 
  5256.       spaces for those who have gotton themselves accidently locked-out. 
  5257.  
  5258.    4. The Scheduler built into PM Patrol now provides better termination 
  5259.       settings.  Hours and minutes may now be specified for the termination of 
  5260.       a scheduled program. 
  5261.  
  5262.    5. The Scheduler built into PM Patrol now supports the ability to terminate 
  5263.       a process after a specified duration of time (minutes). See online help 
  5264.       section of the Scheduler for details. 
  5265.  
  5266.    6. The Scheduler will now log via the PM Patrol DBug facility all programs 
  5267.       started, shutdown, or terminated (killed). This assumes DBug has been 
  5268.       started as well. With this enhancement, the DBug facility can now be used 
  5269.       for logging Scheduled programs. 
  5270.  
  5271.    7. Fixed problem in Scheduler where, based on the scheduled date/time 
  5272.       settings, a scheduled job could launch more than 1 instance. A pop-up 
  5273.       message and a DBug are now generated, warning that an instance of the 
  5274.       process is already active. 
  5275.  
  5276.    8. Any program started from the PM Patrol Program Launcher will now also get 
  5277.       logged via the DBug facility. This assumes DBug has been started as well. 
  5278.  
  5279.    9. Fixed a bug in the PM Patrol parser. Config.sys statements containing 
  5280.       leading spaces were not being properly parsed. 
  5281.  
  5282.   10. Removed the Scheme Palette option from PM Patrol's menu options until the 
  5283.       problem associated with this item is resolved. The problem: When selected 
  5284.       from PM Patrol's menu, the default Scheme Palette would get invoked. 
  5285.       Customized Schemes would sometimes appear lost. 
  5286.  
  5287.   11. Enhanced the Installation program addressing fail-safe and file copy 
  5288.       issues. 
  5289.  
  5290.   12. The Auto-Save Profile option introduced in version 4.1 also introduced a 
  5291.       problem where this option would remain enabled - regardless of the user's 
  5292.       selection. The ramification effects power-managed computers so that disk 
  5293.       drives never power-down automatically. 
  5294.  
  5295.   13. Added the ability to specify the number of minutes before an Auto-Save 
  5296.       Profile is performed. The default is 15 minutes, but can range from 1 
  5297.       minute to 8 hours. This option is located in the General Settings window. 
  5298.  
  5299.   14. The Show Inverted option introduced has been enhanced to include Virtual 
  5300.       Memory as well. This option allows you to "invert" or reverse how the 
  5301.       Virtual Memory and graph is shown on the Status Line to reflect resource 
  5302.       taxation similar to PM Patrol's CPU monitor. 
  5303.  
  5304.   15. Added Show Open Files option for the Process Summary monitor on the PM 
  5305.       Patrol Status Line. Some like to see it, and some don't. So, here's the 
  5306.       option. 
  5307.  
  5308.   16. The Show Percent option on PM Patrol's Status Line has been removed and 
  5309.       replaced with individual "Percent" options for each of the monitor items 
  5310.       including Swap, Resident RAM, Real RAM, and Virtual RAM. These individual 
  5311.       "Percent" options are located on PM Patrol's Options window and now 
  5312.       provides more flexability in customizing display options. 
  5313.  
  5314.   17. The Internet Connect-Time is now refered to as INet Connect-Time. Prior 
  5315.       to 4.2, the "Accumulative Internet" option was accessed via the General 
  5316.       Settings window. It has been relocated to PM Patrol's Options window and 
  5317.       is called Show Total INet which will show total Internet Connect-Time in 
  5318.       addition to the per instance connect-time. With this option, you can now 
  5319.       see total Internet Connect-Time at the same time as the per-instance 
  5320.       connect-time. 
  5321.  
  5322.   18. The INet Connect-Time bug fixed in version 4.0 was resetting to zero for 
  5323.       per-instance connections prematurely while not allowing the user to see 
  5324.       the total time after disconnection. This has been fixed. This 
  5325.       connect-time is now reset to zero when a new connection is established. 
  5326.       Thus, allowing the user to see what the last Internet Connect-Time was 
  5327.       before re-connection. 
  5328.  
  5329.   19. Added Show Inverted option. By default, PM Patrol shows Swap and Real RAM 
  5330.       in terms of "Free" or available resource on the Status Line. This option 
  5331.       allows you to "invert" or reverse how these monitors and graphs are shown 
  5332.       on the Status Line to reflect resource taxation similar to PM Patrol's 
  5333.       CPU monitor. 
  5334.  
  5335.   20. The Show Percent option now effects both Swap and Real RAM monitors on 
  5336.       the Status Line. When selected, both Swap and Real RAM will show the 
  5337.       percentages. Prior to 4.2, only Swap was effected. 
  5338.  
  5339.   21. Bug fix in Virtual Memory calculation. 
  5340.  
  5341.   22. Added Reflect Free Swap in VRam. This option provides the ability to have 
  5342.       the Free Virtual Memory calculation reflect (or not reflect) free OS/2 
  5343.       swap space from the swap file (swapper.dat). When enabled, the Free 
  5344.       Virtual RAM (VRam) calculation will reflect a more accurate and actual 
  5345.       reading. This new option is located in PM Patrol's General Settings 
  5346.       dialog. 
  5347.  
  5348.  These items are new in PM Patrol version 4.1: 
  5349.  
  5350.    1. New PM Patrol ShutDown command-line utility (PMPSDOWN.EXE) which provides 
  5351.       a mechanism to shutdown PM Patrol after a specified amount of time 
  5352.       (seconds). 
  5353.  
  5354.    2. New Message Box Popup command-line utility (MSGBOX.EXE) which can be 
  5355.       invoked from the Scheduler to popup a message at a specific time. Lots of 
  5356.       options for this. Refer to the "Command Line Utilities" help section for 
  5357.       details. 
  5358.  
  5359.    3. PM Patrol can now be accessed without the use of a mouse. Using Ctrl-Esc 
  5360.       to get the OS/2 Window List, then selecting the "PM Patrol Status Line". 
  5361.       At this point, pressing F12 will get you to the PM Patrol Options window. 
  5362.       F11 will invoke PM Patrol's Utility Popup. 
  5363.  
  5364.    4. PM Patrol now looks for the COMSPEC environment variable to identify the 
  5365.       correct OS/2 Command Shell Interpreter. Typically this will point to 
  5366.       CMD.EXE. But for those 4OS2 and MKS Toolkit Korn Shell users, this has 
  5367.       been fixed. 
  5368.  
  5369.    5. New Auto-Save Profile option will automatically save the PM Patrol 
  5370.       profile and statistics every 15 minutes. This facilitates integrity for 
  5371.       PM Patrol's statistics in the event of a system hang or crash. With this 
  5372.       option turned on, power-managed computers will not automatically power 
  5373.       down the disk drive because of the consistent 15 minute disk writes. 
  5374.       These disk writes are not buffered and therefore commit to disk 
  5375.       immediately. 
  5376.  
  5377.    6. New Lock Status Line Position option locks-in the PM Patrol Status Line 
  5378.       position from accidently dragging and moving. 
  5379.  
  5380.    7. New Message Popup Seconds option allows you to define how long (seconds) 
  5381.       PM Patrol should display popup messages. The default is 4 seconds. 
  5382.  
  5383.    8. Fixed bug in Program Scheduler and Launcher when using the keyboard would 
  5384.       automatically launch the first entry in the Program or Scheduler list. 
  5385.  
  5386.    9. Fixed bug in calculation of available virtual memory. 
  5387.  
  5388.   10. Fixed bug in Accumulative Internet Connection Time. When Accumulative is 
  5389.       disabled, the Connect Time will now reset to 0 after disconnecting from 
  5390.       the Internet, each time PM Patrol is started, or when you manually reset 
  5391.       it in PM Patrol. 
  5392.  
  5393.   11. The Process Summary now displays the total active/open number of files on 
  5394.       the system. This is in addition to the number of total processes and 
  5395.       total threads. 
  5396.  
  5397.   12. Fixed bugs in DCFUserDefined API and Refresh Settings for User Defined 
  5398.       frequency. 
  5399.  
  5400.   13. Fixed bug in Process Meter where the Run-Time Duration day was not being 
  5401.       incremented. 
  5402.  
  5403.   14. Added ability to turn off Event Renotification by specifying zero 
  5404.       seconds. 
  5405.  
  5406.   15. Bug fix for situations where the month of January was being abbreviated 
  5407.       as "an" instead of "Jan". 
  5408.  
  5409.   16. Revised the online help section "Order and Pricing" and the text-based 
  5410.       file ORDER.FRM to reflect new methods of ordering PM Patrol. These 
  5411.       methods include Credit Card, CompuServe SWREG, personal check, and money 
  5412.       orders. 
  5413.  
  5414.   17. Revised online help to reflect improved PM Patrol support and obtaining 
  5415.       updates by itemizing FTP and other download sites posted to directly by 
  5416.       WallyWare. Refer to online help section "Support" for details. 
  5417.  
  5418.  These items are new in PM Patrol version 4.0: 
  5419.  
  5420.    1. Due to changes in PM Patrol's profile data (PMPATROL.INI) to accommodate 
  5421.       the new release, this profile data may be re-initialized to standard 
  5422.       defaults when the new release is first invoked. 
  5423.  
  5424.    2. Significant improvement in overall visuals and interpretation of system 
  5425.       resources. This includes emphasis on new graphing functions within the PM 
  5426.       Patrol Status Line and across several new PM Patrol windows. 
  5427.  
  5428.    3. Distinctly different monitor windows which focus on categories of 
  5429.       resources. These include: 
  5430.  
  5431.         a. Network Monitor window. Provides concentration for LAN Server/Client 
  5432.            I/O traffic workstation specifics. 
  5433.  
  5434.         b. Process Monitor window. Provides concentration for OS/2 active 
  5435.            processes, threads, CPU per process, DLLs loaded, and much more. 
  5436.  
  5437.         c. Memory Monitor window. Provides concentration for OS/2 memory 
  5438.            utilization for free/used real memory, swappable, free swap, 
  5439.            resident, and other memory related items. 
  5440.  
  5441.         d. Drives Monitor window. Provides concentration for disk drives 
  5442.            on-line, utilization per drive, location/file systems, summary per 
  5443.            drive, and drive maps. 
  5444.  
  5445.         e. Port Monitor window. Provides concentration for I/O traffic and 
  5446.            performance of LPT ports with the ability to monitor 1 or more ports 
  5447.            at the packet level. Using the new Debug facility, individual 
  5448.            packets can be monitored providing "data scope" capability. When 
  5449.            DBugging is enabled for a selected LPT port, an artificial delay (1 
  5450.            second) is inserted between each packet sent to the port. 
  5451.  
  5452.    4. New Process Meter features provides unattended operation and automatic 
  5453.       collection of process statistics for determining total and average 
  5454.       run-time, CPU consumption, and run-count instance over a user controlled 
  5455.       range of time. 
  5456.  
  5457.    5. New Activity Monitor graphs highly visible/critical OS/2 resources. This 
  5458.       facility provides a "bird's eye view" of overall system utilization. Drag 
  5459.       and drop the window for precise window positioning. 
  5460.  
  5461.    6. New CPU Magnification feature enables CPU monitoring at a selectable 
  5462.       granule level. Zoom into CPU effort for fast CPUs such as highend i486 
  5463.       and Pentium systems. Up to 50 times (50x) magnification. 
  5464.  
  5465.    7. Improved Fast Find facility allows execution of programs, viewing of INF 
  5466.       files, double click selection, and more. 
  5467.  
  5468.    8. New Fast Help facility which provides very fast access to a list of 
  5469.       available on-line help for OS/2 and Windows help files. Coupled with 
  5470.       search capability, this feature enables you quick access to highly 
  5471.       accessed help books. 
  5472.  
  5473.    9. New Status Line monitor items include: 
  5474.  
  5475.         a. OS/2 free Swap Utilization 
  5476.  
  5477.         b. HPFS386 Cache read and write statistics 
  5478.  
  5479.         c. Internet Connect Time when using a modem and the PPP or SLIP 
  5480.            protocols of the IBM Internet Access Kit. Provides the ability to 
  5481.            monitor and manually reset connect-time and accumulative monitoring. 
  5482.  
  5483.   10. New Debug Facility. The high-performance real-time debugging facility 
  5484.       that goes where the interactive debugger can not. PM Patrol's new Port 
  5485.       Monitor takes advantage of this facility allowing you "data scope" 
  5486.       capabilities on a per packet basis. 
  5487.  
  5488.   11. Improved on-line help including in-depth discussion of performance tuning 
  5489.       specifics for the OS/2 environment. 
  5490.  
  5491.   12. PM Patrol's Data Collection Facility (DCF) APIs have been enhanced to 
  5492.       reflect all new monitor items introduced with this release. Due to 
  5493.       changes in the DCF data structures (since version 3.0), previously 
  5494.       written programs which use PM Patrol's C/C++ APIs will require recompile 
  5495.       to reflect the new data structures. 
  5496.  
  5497.   13. New Event Monitor notifies you when critical system activities occur or 
  5498.       thresholds are exceeded. These include CPU, Swap growth, batter low, 
  5499.       virtual memory, low disk space, and more. 
  5500.  
  5501.   14. Miscellaneous new features provide: 
  5502.  
  5503.         a. Restart Desktop allows the ability to restart the OS/2 desktop and 
  5504.            optionally select different OS/2 INI locations. 
  5505.  
  5506.         b. Idle System CPU monitoring within PM Patrol's Process Monitor 
  5507.            window. When applications consume CPU, "Idle System" will decrease. 
  5508.            When your system sits idle, "Idle System" increases. 
  5509.  
  5510.         c. Sound Bites For MMPM/2 enabled systems, PM Patrol is multimedia 
  5511.            enabled providing notifications of events, window selections, and 
  5512.            more. 
  5513.  
  5514.         d. Filter-out Background processes in the Process Monitor window to 
  5515.            allow you to focus only on "Foreground" programs active on your 
  5516.            system. 
  5517.  
  5518.         e. New Auto-Popup Menu option for quick access to the PM Patrol Utility 
  5519.            popup menu on the Status Line. 
  5520.  
  5521.         f. New Confirmations option to suppress PM Patrol from prompting you 
  5522.            before taking selected actions. 
  5523.  
  5524.         g. WorkPlace Classes option provides the ability to browse through 
  5525.            registered WorkPlace Shell classes with the capability of 
  5526.            registering new classes or deregistering classes no longer needed. 
  5527.  
  5528.         h. Close All Folders option quickly closes all open OS/2 WorkPlace 
  5529.            Shell folders. This is similar to PM Patrol's ability to also 
  5530.            quickly Minimize or Maximize all open desktop windows. 
  5531.  
  5532.            Show Decimals option enables or disables PM Patrol displaying the 
  5533.            decimal position for several of the Status Line monitors. When 
  5534.            disabled, PM Patrol will apply standard rounding across effected 
  5535.            values. 
  5536.  
  5537.         i. Forced OS/2 Shutdown for safe and dependable system shutdown when 
  5538.            the normal OS/2 shutdown services are unresponsive. 
  5539.  
  5540.         j. Windows 3.1 Enhanced-execution support for both the Scheduler and 
  5541.            Program Launcher. 
  5542.  
  5543.         k. Recalibrate PM Patrol's CPU monitors when switching between 
  5544.            Turbo/Slow mode for certain systems. 
  5545.  
  5546.         l. Quick open/close of all PM Patrol monitor windows. 
  5547.  
  5548.         m. Self-awareness of other CPU monitors making PM Patrol even more 
  5549.            stable and it's ability to coexist in diverse environments. 
  5550.  
  5551.         n. Re-organization of menus and overall consistency making PM Patrol 
  5552.            easier to use and access to its features. 
  5553.  
  5554.         o. New command line utility called FDUMP which provides the ability to 
  5555.            dump the contents of any file and display the contents in both ASCII 
  5556.            and hex representation. This utility also understands fixed record 
  5557.            lengths. 
  5558.  
  5559.         p. Total customization of colors and fonts on a per window basis across 
  5560.            the PM Patrol product. 
  5561.  
  5562.         q. Run-Time of programs in the "Process Monitor" allows viewing the 
  5563.            duration for which processes have been actively running. 
  5564.  
  5565.         r. Improved Logging services with a new Log viewer able to view log 
  5566.            data while logging is active and view very large log files 
  5567.            efficiently and ability to log process level detail and CPU per 
  5568.            active process. 
  5569.  
  5570.         s. User Defined Monitor allows you to format your own monitor to have 
  5571.            it displayed on PM patrol's main Status Line and allow it to be 
  5572.            logged. 
  5573.  
  5574.         t. Better integration to OS/2 Warp WorkPlace Shell and access to 
  5575.            frequently used objects. 
  5576.  
  5577.  These items are new in PM Patrol version 3.0: 
  5578.  
  5579.    1. Fast Find w/out limits across multiple drives. 
  5580.  
  5581.    2. Improved Process Monitor window with graphical view of CPU utilization 
  5582.       per process and thread, and priority classification. 
  5583.  
  5584.    3. Drive map with graphical view of directories and their sizes 
  5585.  
  5586.    4. New Virtual memory and Resident memory monitors 
  5587.  
  5588.    5. IBM LAN Server support includes Network I/O monitor rates for 
  5589.       workstation, Network monitor current logged-on user, and Network monitor 
  5590.       current logged-on domain. 
  5591.  
  5592.    6. Improved Print Spooler functions with remote LAN capabilities. 
  5593.  
  5594.    7. Vastly improved logging capabilities and Free Memory calculation. 
  5595.  
  5596.    8. Monitor up to six (6) logical drives. 
  5597.  
  5598.    9. Robust Program Scheduler with program priority control. 
  5599.  
  5600.   10. Security features to keep unwanted changes being made to PM Patrol 
  5601.       settings. 
  5602.  
  5603.   11. Windows 3.1 support for both the Scheduler and Program Launcher. 
  5604.  
  5605.   12. Data Collection Facility with APIs for real-time access to ALL PM Patrol 
  5606.       monitors and statistics. 
  5607.  
  5608.   13. New startup parameters offer background execution for DCF-only needs and 
  5609.       real-time responsiveness. 
  5610.  
  5611.   14. Complete printing support for local or LAN printers 
  5612.  
  5613.   15. New and improved PM Patrol Installation facility 
  5614.  
  5615.  Note:  The on-line help contains a section called "Trouble Shooting". It 
  5616.  discusses topics of potential difficulty, compatibility, and idiosyncrasies of 
  5617.  PM Patrol features. Everyone should read this section. 
  5618.  
  5619.  
  5620. ΓòÉΓòÉΓòÉ 19. Acknowledgments ΓòÉΓòÉΓòÉ
  5621.  
  5622. (c)SPM/2 and MMPM/2 for OS/2 are offered by IBM Corporation. 
  5623.  
  5624. (c)IBM LAN Server and (c)IBM LAN Requester are OS/2 network components offered 
  5625. by IBM Corporation. 
  5626.  
  5627. Windows (tm), Windows-95 (tm), and Windows NT (tm) are offered by Microsoft 
  5628. Corporation. 
  5629.  
  5630.  
  5631. ΓòÉΓòÉΓòÉ 20. Special Thanks ΓòÉΓòÉΓòÉ
  5632.  
  5633. We would like to express our sincere appreciation to everyone who assisted in 
  5634. the production of this and onging releases of PM Patrol. Particularly, a 
  5635. special thanks goes to: 
  5636.  
  5637. Mike Coane, Aron Eisenpress, Jeff McCauley, Mark Saliture, Jen and Kyle.